zend_llist versus hash table

From: Date: Mon, 30 Jul 2001 09:21:56 +0000
Subject: zend_llist versus hash table
Groups: php.dev 
Request: Send a blank email to php-dev+get-61514@lists.php.net to get a copy of this message
Hi folks. I wrote the fancy template engine in php and now I am rewritting it as a C module and want to main the both version. I look into the sources of the php and understand a lot of thing, but have some questions. I will have aproximately 30 items to store in some kind of array and I don't know, which to use (in the look of the performance). Which is faster? The zend_llist or hash table? I know that hash is good for a lot of items, but I don't want to use cannon to shot the birds :) Is any chance to include the template engine to the official distribution of the php? I want to say, that is not the another dumb template engine. its features: * nested dynamic and optional blocks * namespaces * advanced caching (the parts of the template or the whole template) Thanx anyway peter vrabel

« previous php.dev (#61514) next »