Re: ADT in PHP - where do we want them?

From: Date: Wed, 17 Jan 2001 18:35:14 +0000
Subject: Re: ADT in PHP - where do we want them?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44404@lists.php.net to get a copy of this message
> some time ago I had a discussion on #php.de with Ulf Wendel and > Johann-Peter Hartmann about Advanced Data Types (short: ADT; data structures > like Hashes, Linked Lists, Trees, ...) in PHP, because we needed efficient > implementation of those for a project. Hrm.. Having just completed a rather nasty little algorithm which takes an LDAP tree of employees and creates an org chart using all sorts of trees, hashes and directed graphs to get the layout right, I am not sure I understand how linked lists or trees can be made any more efficient than simply: $node[next] = $foo; $node[prev] = $bar; $node[data] = 'Test Node'; What exactly do you have in mind here? A defined datatype so traversal functions could also be built in? > PS: All the best wishes at this point for Sterling's health. He had an > accident while trying to use a snowboard (he got a head concussion, > I hope I use the right term here) and must attend to his bed for > another week. "trying to use his snowboard"... That seems like appropriate wording. ;) -Rasmus

« previous php.dev (#44404) next »