Hi.
On Mon, Jun 18, 2001 at 08:16:45AM +1000, [EMAIL PROTECTED] wrote:
>
> What is the current way to move back and forwards and to any position in a
> recordset without losing performance
There is no way. For effiency, the record set is hold in memory as
linked list. Searching a position in linked lists has a complexity of
O(n).
If you really need random accesses, first copy the data or the
pointers to an array, which then can be accessed randomly.
Bye,
Benjamin.
[...]
> But if I want to use mysql_data_seek() it is very slow
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php