Login | Register
My pages Projects Community openCollabNet

propel
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author =?ISO-8859-1?Q?David_Z=FClke?= <dz@bitxtender.com>
Full name =?ISO-8859-1?Q?David_Z=FClke?= <dz@bitxtender.com>
Date 2006-10-04 08:00:10 PDT
Message > Isn't Sven saying that FETCH_INTO will keep memory/resource use to a
> minimum? (Unlike current situation where you would have a new object
> allocated for each row returned.)


Right now, this is the case, but with iterators, the GC would kick in
sooner or later and free the memory. We'd need two fetch modes then,
one for iterators (default) and another for the oldschool array
approach. Of course, we could always add FETCH_INTO support should we
discover that PHP sucks and doesn't free the previously allocated
memory (but come on, what are the odds of PHP sucking, really? harhar)


David