Click here to Skip to main content
15,886,788 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: Hey JSOP! Pin
honey the codewitch23-Dec-20 2:44
mvahoney the codewitch23-Dec-20 2:44 
GeneralRe: Hey JSOP! Pin
Jörgen Andersson23-Dec-20 2:45
professionalJörgen Andersson23-Dec-20 2:45 
GeneralRe: Hey JSOP! Pin
honey the codewitch23-Dec-20 2:47
mvahoney the codewitch23-Dec-20 2:47 
GeneralRe: Hey JSOP! Pin
Jörgen Andersson23-Dec-20 2:48
professionalJörgen Andersson23-Dec-20 2:48 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
PIEBALDconsult24-Dec-20 8:22
mvePIEBALDconsult24-Dec-20 8:22 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
honey the codewitch24-Dec-20 9:46
mvahoney the codewitch24-Dec-20 9:46 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
PIEBALDconsult24-Dec-20 10:53
mvePIEBALDconsult24-Dec-20 10:53 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
honey the codewitch24-Dec-20 11:54
mvahoney the codewitch24-Dec-20 11:54 
DB access times can be improved if you're careful. It pays to check your update times in the DB because you can often improve them by using things like intermediary in-memory tables without constraints on them, and then updating the "real" table with that one transactionally

Of course, obviously profiling is best. I like to time individual things and then check percentage of time within each operation relative to each other so I can know overall where improvements can benefit me. Like for example, DB uses 75% of the time, parsing uses 25% that kind of thing.

Adding, the only thing about a stack is without one you have to scan to the end of a string before you can tell whether you're reading a field or a value node, because the ':' is the only thing you can use to discern that without keeping a stack.

Your parsing might be able to be wholesale improved in .NET by ditching JSON parsing altogether and using carefully constructed regular expressions instead.
Real programmers use butterflies

GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
PIEBALDconsult24-Dec-20 12:27
mvePIEBALDconsult24-Dec-20 12:27 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
honey the codewitch24-Dec-20 13:00
mvahoney the codewitch24-Dec-20 13:00 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
PIEBALDconsult24-Dec-20 13:34
mvePIEBALDconsult24-Dec-20 13:34 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
honey the codewitch24-Dec-20 15:48
mvahoney the codewitch24-Dec-20 15:48 
GeneralDilbert OTD: working from home problems Pin
OriginalGriff23-Dec-20 0:27
mveOriginalGriff23-Dec-20 0:27 
GeneralRe: Dilbert OTD: working from home problems Pin
rnbergren23-Dec-20 3:51
rnbergren23-Dec-20 3:51 
GeneralRe: Dilbert OTD: working from home problems Pin
Slow Eddie24-Dec-20 2:18
professionalSlow Eddie24-Dec-20 2:18 
GeneralRe: Dilbert OTD: working from home problems Pin
Kirk 1038982124-Dec-20 8:15
Kirk 1038982124-Dec-20 8:15 
GeneralThe weird issues and workarounds we sometimes have to deal with Pin
Jacquers22-Dec-20 21:37
Jacquers22-Dec-20 21:37 
GeneralRe: The weird issues and workarounds we sometimes have to deal with PinPopular
Jörgen Andersson23-Dec-20 0:45
professionalJörgen Andersson23-Dec-20 0:45 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
OriginalGriff23-Dec-20 0:47
mveOriginalGriff23-Dec-20 0:47 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Jörgen Andersson23-Dec-20 2:55
professionalJörgen Andersson23-Dec-20 2:55 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Jacquers23-Dec-20 0:53
Jacquers23-Dec-20 0:53 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Jörgen Andersson23-Dec-20 2:52
professionalJörgen Andersson23-Dec-20 2:52 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Rob_P23-Dec-20 21:37
Rob_P23-Dec-20 21:37 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Kirk 1038982124-Dec-20 8:22
Kirk 1038982124-Dec-20 8:22 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Slacker00723-Dec-20 1:14
professionalSlacker00723-Dec-20 1:14 

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.