Jan Dolecek wrote:
I was waiting for this for a while! I wrote a blog post how to get
best benefits from weak references:
http://blog.juzna.cz/2011/08/weak-references-in-php/
Perhaps this will help showing people what are they good for.
This again relates to MySQl's method of working ...
ibase_query already has the data in memory before the ibase_fetch_object pulls
it out. In fact you can simply look at the raw data if you want, so I still
don't see how WeakRef would work with interbase/firebird, and I beleive that
postgres and oracle drivers also work the same way? How would xxx_query know
that it is only pulling a single result? In ADOdb we have functions specifically
designed to getOne() but these cache the underlying data until a new call is made?
Or is this simply related to copying the data again from the underlying engine?
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php