Click here to Skip to main content
15,503,143 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 3:44
mvahoney the codewitch23-Dec-20 3:44 
GeneralRe: Hey JSOP! Pin
Jörgen Andersson23-Dec-20 3:45
professionalJörgen Andersson23-Dec-20 3:45 
GeneralRe: Hey JSOP! Pin
honey the codewitch23-Dec-20 3:47
mvahoney the codewitch23-Dec-20 3:47 
GeneralRe: Hey JSOP! Pin
Jörgen Andersson23-Dec-20 3:48
professionalJörgen Andersson23-Dec-20 3:48 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
PIEBALDconsult24-Dec-20 9:22
professionalPIEBALDconsult24-Dec-20 9:22 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
honey the codewitch24-Dec-20 10:46
mvahoney the codewitch24-Dec-20 10:46 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
PIEBALDconsult24-Dec-20 11:53
professionalPIEBALDconsult24-Dec-20 11:53 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
honey the codewitch24-Dec-20 12:54
mvahoney the codewitch24-Dec-20 12: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 13:27
professionalPIEBALDconsult24-Dec-20 13:27 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
honey the codewitch24-Dec-20 14:00
mvahoney the codewitch24-Dec-20 14:00 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
PIEBALDconsult24-Dec-20 14:34
professionalPIEBALDconsult24-Dec-20 14:34 
GeneralRe: Hey JSOP! Whoops I mean PIEBALDconsult! Sorry! Pin
honey the codewitch24-Dec-20 16:48
mvahoney the codewitch24-Dec-20 16:48 
GeneralDilbert OTD: working from home problems Pin
OriginalGriff23-Dec-20 1:27
mveOriginalGriff23-Dec-20 1:27 
GeneralRe: Dilbert OTD: working from home problems Pin
rnbergren23-Dec-20 4:51
rnbergren23-Dec-20 4:51 
GeneralRe: Dilbert OTD: working from home problems Pin
Slow Eddie24-Dec-20 3:18
professionalSlow Eddie24-Dec-20 3:18 
GeneralRe: Dilbert OTD: working from home problems Pin
Kirk 1038982124-Dec-20 9:15
Kirk 1038982124-Dec-20 9:15 
GeneralThe weird issues and workarounds we sometimes have to deal with Pin
Jacquers22-Dec-20 22:37
Jacquers22-Dec-20 22:37 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Jörgen Andersson23-Dec-20 1:45
professionalJörgen Andersson23-Dec-20 1:45 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
OriginalGriff23-Dec-20 1:47
mveOriginalGriff23-Dec-20 1:47 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Jörgen Andersson23-Dec-20 3:55
professionalJörgen Andersson23-Dec-20 3:55 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Jacquers23-Dec-20 1:53
Jacquers23-Dec-20 1:53 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Jörgen Andersson23-Dec-20 3:52
professionalJörgen Andersson23-Dec-20 3:52 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Rob_P23-Dec-20 22:37
Rob_P23-Dec-20 22:37 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Kirk 1038982124-Dec-20 9:22
Kirk 1038982124-Dec-20 9:22 
GeneralRe: The weird issues and workarounds we sometimes have to deal with Pin
Slacker00723-Dec-20 2:14
professionalSlacker00723-Dec-20 2: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.


Straw Poll

How would you describe your current job?
Fighting dragons everyday or clicking the same boxes on the same forms, day after day?
  Results   370 votes