# notes on hashes in globals

- Thread: https://externals.io/message/12572
- Original archive: https://news-web.php.net/php.internals/12572
- Started by Alan Knowles on 2004-09-04T03:34:43+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #12572 — Alan Knowles — 2004-09-04T03:34:43+00:00

URL: https://externals.io/message/12572#12572

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

---

## #12573 — l0t3k — 2004-09-04T04:36:12+00:00

URL: https://externals.io/message/12572#12573 · In reply to: #12572

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" <alan@akbkhome.com> 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
