Ilia Alshanetsky has a quick new post today with information about a PECL package he's worked up to provide PHP with access to the "native hash tables found in libC".
lchash is a little PHP extension that you can find at http://pecl.php.net/package/lchash which provides means of accessing and using native hash tables found in libC. The interface is really simple involving just 4 functions:
By using this mechanism you can create a very fast and effecient memory-based data store for a script's duration.
That last bit definitely sounds promising - anything that can help speed up the store of memory in a script is worth investigating to me...




