Re: [PHP-DEV] Understanding the benefits of handling Bucket data in PHP's HashTables

2010-09-30 Thread Stas Malyshev
Hi! The bucket can store 2 types of data - either any random piece of data (ARPD) or a pointer. When bucket with ARPD is created/deleted, the memory storing ARPD is allocated/freed. When bucket holding a pointer is created/freed, nothing special happens since the pointer is stored inside the

RE: [PHP-DEV] Understanding the benefits of handling Bucket data in PHP's HashTables

2010-09-16 Thread Jeff Brown
gt; Subject: [PHP-DEV] Understanding the benefits of handling Bucket data in > PHP's HashTables > > > Hey guys (and girls), > I have been reading this list for sometimebut this is the first time I'm > actually posting something.This might fit better in a C\C++ forum b

[PHP-DEV] Understanding the benefits of handling Bucket data in PHP's HashTables

2010-09-16 Thread Jeff Brown
Hey guys (and girls), I have been reading this list for sometimebut this is the first time I'm actually posting something.This might fit better in a C\C++ forum but I base my question on the notion that I confidence in my C skills and that there is an underlying cause for the choice of PHP deve