Re: Need a cache for ucnv_open()

From: Date: Sun, 14 Aug 2005 04:50:59 +0000
Subject: Re: Need a cache for ucnv_open()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18036@lists.php.net to get a copy of this message
zend_unicode.c is the place for it, IMHO. -Andrei On Aug 13, 2005, at 6:52 AM, 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.


« previous php.internals (#18036) next »