Re: GtkClist / find_row_from_data
| From: | Markus Fischer | Date: | Sun, 14 Apr 2002 03:04:20 +0000 |
| Subject: | Re: GtkClist / find_row_from_data | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1782@lists.php.net to get a copy of this message | ||
On Sun, Apr 14, 2002 at 04:26:59AM +0200, Hakan Kuecuekyilmaz wrote :
> On Sun, 2002-04-14 at 02:59, Markus Fischer wrote:
> > Don't waste your time on this method, it is not really
> > implemented.
>
> hmm, hoped that I will not hear this answer! Well, how can I "emulate"
> this method? I mean building an array with thousands of rows and looking
> for duplicate values before adding every row is kind of slow...
I don't think that
if (!in_array($bar, $array_baz)) {
is tremendous slow as your fear .. anyway, YMMV.
--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah...
none :)"