|
|
Chris Huff <chr### [at] maccom> wrote:
: Let me clarify: I have nothing against the idea of templates. I just
: think they could be done better in C++ than they were, perhaps by
: extending the existing preprocessor instead of adding another
: "meta-language".
I think that would be more like a kludge over an older kludge.
In my opinion the templates in C++ are quite well implemented. They are
easy to use and you can make very good-quality code with them.
: Moving to a dynamically allocated array will probably give a bigger
: speed boost.
A dynamic arrays and sorted glows are not mutually exclusive. In fact, the
latter actually needs the former (unless you use a binary tree, which takes
even more memory).
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|