Request for comments: std.d.lexer
qznc
qznc at go.to
Thu Jan 31 23:41:10 PST 2013
On Thursday, 31 January 2013 at 12:14:35 UTC, Jacob Carlborg
wrote:
> Just thinking out loud here. Would it be possible to lex a file
> in parallel? Cutting it in half (or similar) and lex both
> pieces simultaneously in parallel.
I think a lexer should be IO-bound on todays machines, so
parallelizing should not give much benefits.
Of course, you can write a microbenchmark, such that lexing is
compute-bound and parallelizing gives a speedup. ;)
More information about the Digitalmars-d
mailing list