Click here to Skip to main content
15,888,610 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: Adventures in Async Pin
Padanian29-Jun-20 20:18
Padanian29-Jun-20 20:18 
RantRe: Adventures in Async Pin
kalberts30-Jun-20 0:47
kalberts30-Jun-20 0:47 
GeneralRe: Adventures in Async Pin
Padanian30-Jun-20 0:53
Padanian30-Jun-20 0:53 
GeneralRe: Adventures in Async Pin
Jörgen Andersson1-Jul-20 5:11
professionalJörgen Andersson1-Jul-20 5:11 
GeneralRe: Adventures in Async Pin
Raphael Muindi Jr.1-Jul-20 19:17
Raphael Muindi Jr.1-Jul-20 19:17 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 21:03
professionalJörgen Andersson29-Jun-20 21:03 
GeneralRe: Adventures in Async Pin
Padanian29-Jun-20 21:24
Padanian29-Jun-20 21:24 
GeneralRe: Adventures in Async Pin
KateAshman30-Jun-20 22:00
KateAshman30-Jun-20 22:00 
XML parsing is a forgotten art, but I have a story that might inspire your creativity. 😉

I once had to build an XML parser that could process a 1.8 gig file on demand, with the intent of generating C++ header files. The hard part was terrible formatting and not being able to pre-process the darn thing, which forced me to use a single pass multi-line regex implementation. After a couple of weeks struggling with it, my biggest time save was finally gained by switching to a stream reader.

When I read your story, my first idea was to use a non-locking stream reader and simply running the thing 4 times on 4 cores.

Personally, I don't see the need for parallelism in this instance and I think it's a red herring to be honest.

Anyways, good luck. 👍
GeneralRe: Adventures in Async Pin
Jörgen Andersson1-Jul-20 5:15
professionalJörgen Andersson1-Jul-20 5:15 
GeneralRe: Adventures in Async Pin
Raphael Muindi Jr.1-Jul-20 19:12
Raphael Muindi Jr.1-Jul-20 19:12 
GeneralRe: Adventures in Async Pin
Jörgen Andersson1-Jul-20 20:11
professionalJörgen Andersson1-Jul-20 20:11 
JokeWould you? PinPopular
Sander Rossel28-Jun-20 21:58
professionalSander Rossel28-Jun-20 21:58 
GeneralRe: Would you? Pin
CodeWraith28-Jun-20 22:49
CodeWraith28-Jun-20 22:49 
GeneralRe: Would you? Pin
OriginalGriff28-Jun-20 22:57
mveOriginalGriff28-Jun-20 22:57 
GeneralRe: Would you? Pin
CodeWraith28-Jun-20 23:12
CodeWraith28-Jun-20 23:12 
GeneralRe: Would you? Pin
OriginalGriff28-Jun-20 23:41
mveOriginalGriff28-Jun-20 23:41 
GeneralRe: Would you? Pin
Nelek28-Jun-20 23:41
protectorNelek28-Jun-20 23:41 
GeneralRe: Would you? Pin
CodeWraith28-Jun-20 23:59
CodeWraith28-Jun-20 23:59 
GeneralRe: Would you? Pin
Jörgen Andersson29-Jun-20 0:04
professionalJörgen Andersson29-Jun-20 0:04 
GeneralRe: Would you? Pin
CodeWraith29-Jun-20 0:27
CodeWraith29-Jun-20 0:27 
GeneralRe: Would you? Pin
Jörgen Andersson28-Jun-20 23:21
professionalJörgen Andersson28-Jun-20 23:21 
GeneralRe: Would you? Pin
CodeWraith29-Jun-20 0:48
CodeWraith29-Jun-20 0:48 
GeneralRe: Would you? Pin
Daniel Pfeffer29-Jun-20 1:05
professionalDaniel Pfeffer29-Jun-20 1:05 
GeneralRe: Would you? Pin
CodeWraith29-Jun-20 1:28
CodeWraith29-Jun-20 1:28 
GeneralRe: Would you? Pin
Daniel Pfeffer29-Jun-20 1:46
professionalDaniel Pfeffer29-Jun-20 1:46 

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.