Re: Array remove function?

From: Date: Tue, 10 Apr 2007 23:07:21 +0000
Subject: Re: Array remove function?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-252495@lists.php.net to get a copy of this message
On Tue, April 10, 2007 5:39 pm, Paul Novitski wrote: > values. If both keys and values are unique, I'd consider (if only > briefly) maintaining two arrays, one a flipped version of the other, > so I could look up key/value pairs using either node. I do this all the time for small/medium arrays. You'd want to avoid it, maybe for monster arrays... But you rarely have unique keys + values if the arrays are all that large anyway, in Real Life. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#252495) next »