Re: Need a cache for ucnv_open()

From: Date: Sun, 14 Aug 2005 01:45:32 +0000
Subject: Re: Need a cache for ucnv_open()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18022@lists.php.net to get a copy of this message
    I'd go with zend_unicode.c as you can disable ext/unicode.
    --Jani
On Sat, 13 Aug 2005, Wez Furlong wrote:
A number of extensions/functions (strangely, most of the things I work on :-) will need to be able to convert between unicode and arbitrary encodings. It makes a lot of sense to keep some kind of per-request cache (of limited length) to avoid having to load and unload the conversion table on each conversion attempt. Since this cache needs to always be present (to avoid crazy conditional compilation) we either need to put it in zend_unicode.c or put it in ext/unicode and always require it to be statically compiled into php. Thoughts? --Wez.
-- Donate @ http://pecl.php.net/wishlist.php/sniper

« previous php.internals (#18022) next »