List of Phobos functions that allocate memory?
bearophile
bearophileHUGS at lycos.com
Fri Feb 7 18:41:54 PST 2014
Jonathan M Davis:
> The problem is that you need to check it. This is _slower_ than
> exceptions in the normal case,
Right, but verifying the correctness of the Unicode encoding of a
string probably on average requires much more than time than
testing a single conditional. So I think this tiny added time is
acceptable.
Bye,
bearophile
More information about the Digitalmars-d
mailing list