Formal review of std.lexer
Marc Schütz" <schuetzm at gmx.net>
Marc Schütz" <schuetzm at gmx.net>
Sat Feb 22 12:31:45 PST 2014
On Friday, 21 February 2014 at 22:13:30 UTC, Andrej Mitrovic
wrote:
> On 2/21/14, Joseph Cassman <jc7919 at outlook.com> wrote:
>> 1. StringCache is a custom hash table. It looks like it's
>> primary
>> role is to reduce some sort of duplication.
>
> It's used for string interning.
But that still doesn't explain why a custom hash table
implementation is necessary. Maybe a lightweight wrapper around
built-in AAs is sufficient?
(I also apologize if this has already been asked and answered in
the last review thread, which is unfortunately too long to read
in a short time.)
More information about the Digitalmars-d
mailing list