Request for comments: std.d.lexer
Mehrdad
wfunction at hotmail.com
Fri Feb 1 01:04:32 PST 2013
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...
More information about the Digitalmars-d
mailing list