On Friday, 1 February 2013 at 07:41:11 UTC, qznc wrote:
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.
Pretty sure RAMs these days can handle more than 1 processor's
memory request at a given point in time, so there should be an
N-times speedup, where N maxes out at the max throughput...