Request for comments: std.d.lexer
Dmitry Olshansky
dmitry.olsh at gmail.com
Mon Jan 28 03:00:01 PST 2013
28-Jan-2013 14:39, Jacob Carlborg пишет:
> On 2013-01-28 11:14, Walter Bright wrote:
>
>> Well, the source buffer can be large, and will span a lot of memory
>> cache lines, making accessing those slices slow.
>
> Would it be better to .dup the slices? Won't that be just as slow as
> using the appender?
>
It would be better to compactly layout these one by one in a separate
buffer skipping all of the extra slack in the source file(s).
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list