Hi

2011/5/25 Hannes Magnusson <hannes.magnus...@gmail.com>:
> We could do shitloads of optimizations if we generated most of the
> code, or moved some things into cpp macros, but it becomes so insanely
> annoying to debug that I don't think its worth the benefits.

Just a random thought; I use a preprocessor for generating
documentation in one of my older projects which
relies on the tokenizer extension to parse the source code.

Since things like 'Reader::XMLNS_DOCBOOK" is most likely to only be
used in such context we could infact
have a preprocessor script to replace such constant values into their
real values. But I think it boils down to the
fact whether its sane to do so, but it might provide a nice value for
people working on that on-the-move or for other
projects that want to utilize PhD.

-- 
regards,

Kalle Sommer Nielsen
ka...@php.net

Reply via email to