Re: [VOTE] Weak References

From: Date: Wed, 03 Aug 2011 21:16:03 +0000
Subject: Re: [VOTE] Weak References
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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

Thread (69 messages)

« previous php.internals (#54327) next »