Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12573 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57752 invoked by uid 1010); 4 Sep 2004 04:36:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57657 invoked by uid 1007); 4 Sep 2004 04:36:01 -0000 Message-ID: <20040904043601.57655.qmail@pb1.pair.com> To: internals@lists.php.net Reply-To: "l0t3k" References: <413937D3.1030204@akbkhome.com> Date: Sat, 4 Sep 2004 00:36:12 -0400 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Posted-By: 68.211.56.249 Subject: Re: notes on hashes in globals From: cshmoove@bellsouth.net ("l0t3k") Alan, thats for writing this. i'm currently using a homegrown method for storing frequently accessed statically created objects, but i think i'll try your suggestion. no comments on efficiency, since my concern is mainly reducing memory allocations and constructor call overhead, and this should work nicely. l0t3k "Alan Knowles" wrote in message news:413937D3.1030204@akbkhome.com... > If anyone has time to comment on this - it's a summary of how to store > an hash of user defined structs in extension globals. > > http://www.akbkhome.com/wiki.php/DBDO/hashes.html > > I've still got to test it, but If anyone wants to comment on any > ineffeciencies.. it would be useful.. > > Regards > Alan