Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3897 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30919 invoked from network); 14 Aug 2003 06:57:10 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 14 Aug 2003 06:57:10 -0000 Received: (qmail 31631 invoked from network); 14 Aug 2003 06:57:02 -0000 Received: from localhost (HELO zeev-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 14 Aug 2003 06:57:02 -0000 Reply-To: zeev@zend.com Message-ID: <5.1.0.14.2.20030813223840.0503c530@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 13 Aug 2003 22:39:32 +0300 To: "Ard Biesheuvel" Cc: internals@lists.php.net In-Reply-To: <20030813151513.70412.qmail@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] hash table question From: zeev@zend.com (Zeev Suraski) References: <20030813151513.70412.qmail@pb1.pair.com> At 18:15 13/08/2003, Ard Biesheuvel wrote: >For my upcoming improvement of interbase.c, which features asynchronous >handling of events posted in the database, I need to maintain a per-link >list >of event names (string) and callbacks (zval). > >Would using zend_hash tables be the right way to do this ? If you just need a list, you can also use zend_llist. If you need more than just a simple linked list, go for a hash. Zeev