Lexer in D

Namespace rswhite4 at googlemail.com
Mon Mar 11 16:00:04 PDT 2013


> Profile?
>
> Also, note that appender is a tool for appending stuff *into an 
> array*. If you don't actually need an array at the end, then 
> you could give Array a roll?
>
> I don't think it will necessarily do better, but it doesn't 
> hurt to give it a roll.

My profile output looks like this: http://dpaste.1azy.net/0409f0bc

Since I have already discussed most of the stuff in this thread, 
I do not know what I could still improve on the Lexer.
But I have not yet thought of Array. Because my Appender use 
already malloc and free, I could learn something by the 
implementation of 'Array'. Thanks for the suggestion.


More information about the Digitalmars-d-learn mailing list