Click here to Skip to main content
15,443,778 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch23-Dec-20 1:09
mvahoney the codewitch23-Dec-20 1:09 
AnswerRe: Who here knows what a pull parser or pull parsing is? Pin
Jörgen Andersson23-Dec-20 0:42
professionalJörgen Andersson23-Dec-20 0:42 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch23-Dec-20 1:08
mvahoney the codewitch23-Dec-20 1:08 
AnswerRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 5:42
professionalPIEBALDconsult24-Dec-20 5:42 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 9:50
mvahoney the codewitch24-Dec-20 9:50 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 10:23
professionalPIEBALDconsult24-Dec-20 10:23 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 10:54
mvahoney the codewitch24-Dec-20 10:54 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 11:32
professionalPIEBALDconsult24-Dec-20 11:32 
I don't query or search, I simply iterate tokens until I reach the start of an array of objects I'm interested in.
Then I iterate those objects.
That way, I read each file only once.

For the most part, each of the files I'm reading is just one array of objects and I load the whole thing into one database table.
Only the most recent files I'm working with contain multiple arrays containing different types of objects -- and each type of object gets thrown at a different database table.
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 11:45
mvahoney the codewitch24-Dec-20 11:45 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 13:17
professionalPIEBALDconsult24-Dec-20 13:17 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 13:24
mvahoney the codewitch24-Dec-20 13:24 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 14:23
professionalPIEBALDconsult24-Dec-20 14:23 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 15:56
mvahoney the codewitch24-Dec-20 15:56 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 16:03
mvahoney the codewitch24-Dec-20 16:03 
AnswerRe: Who here knows what a pull parser or pull parsing is? Pin
User 1493685330-Dec-20 10:25
MemberUser 1493685330-Dec-20 10:25 
JokeI'm isolating over Christmas, so... Pin
DerekT-P22-Dec-20 10:23
professionalDerekT-P22-Dec-20 10:23 
GeneralRe: I'm isolating over Christmas, so... Pin
DRHuff22-Dec-20 11:18
MemberDRHuff22-Dec-20 11:18 
GeneralRe: I'm isolating over Christmas, so... Pin
Joe Woodbury22-Dec-20 11:28
professionalJoe Woodbury22-Dec-20 11:28 
GeneralDid I fall asleep for a few months, and it's April 1st? Pin
OriginalGriff22-Dec-20 10:18
mveOriginalGriff22-Dec-20 10:18 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
DerekT-P22-Dec-20 10:25
professionalDerekT-P22-Dec-20 10:25 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
OriginalGriff22-Dec-20 10:26
mveOriginalGriff22-Dec-20 10:26 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
RickZeeland22-Dec-20 19:36
mveRickZeeland22-Dec-20 19:36 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
Mike Hankey23-Dec-20 2:10
professionalMike Hankey23-Dec-20 2:10 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
dandy7223-Dec-20 5:35
Memberdandy7223-Dec-20 5:35 
GeneralThought of the Day PinPopular
OriginalGriff22-Dec-20 4:35
mveOriginalGriff22-Dec-20 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

What topics would you like to learn more about?
Contributed by Marc Clifton.
  Results   407 votes