Re: Unicode Implementation
| From: | Peter Brodersen | Date: | Mon, 10 Oct 2005 10:57:05 +0000 |
| Subject: | Re: Unicode Implementation | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19546@lists.php.net to get a copy of this message | ||
On Sun, 9 Oct 2005 00:55:45 -0400 (EDT), in php.internals
adam@trachtenberg.com (Adam Maccabee Trachtenberg) wrote:
>We seem to be under the impression that the Unicode speed penalty will
>be so harsh that a Unicode-only PHP 6 will be too slow for
>use. However, we don't know that for sure. Yes, it will be slower,
>when you look at the whole request cycle, it may not matter.
I agree - the speed penalty comparsion seems mostly related to php
scripts that does nothing else than handling strings.
I recall the old discussions (echo vs print vs ?>...<? ) using similar
benchmarks. It is true when you compare the specific
functions/language constructs the relative difference in speed is
apparent. But compared to a bunch of other functions that you'll
usually use (database connections, file access, data sorting, etc.) I
imagine that the speed penalty is simply marginal.
Just my 0.02 \x20B1.
--
- Peter Brodersen