Request for comments: std.d.lexer

Walter Bright newshound2 at digitalmars.com
Fri Feb 1 03:05:24 PST 2013


On 1/30/2013 8:44 AM, Dmitry Olshansky wrote:
> In allocation scheme I proposed that ID could be a 32bit offset into the unique
> identifiers chunk.

That only works if you know in advance the max size the chunk can ever be and 
preallocate it. Otherwise, you have no guarantee that the next allocated chunk 
will be within 32 bits of address of the previous chunks.



More information about the Digitalmars-d mailing list