| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Thimble Smith | Date: | August 18 1999 6:56pm |
| Subject: | Re: fetchall_arrayref | ||
| View as plain text | |||
At 13:41, 19990818, Paul DuBois wrote: >> [ me saying fetchrow_arrayref is better than fetchall_arrayref ] > >Why is it better? I don't think you get any memory savings by fetching >a row at a time and working with your data that way. The MySQL DBD uses >mysql_store_result() by default, so it's fetching the entire result set >into memory anyway. And you're not making an extra copy by using >fetchall_arrayref() since all you're getting back is a reference. Yep. I bet you're right. Anyway, if there is a difference it's probably not big enough to notice. Tim
| Thread | ||
|---|---|---|
| • fetchall_arrayref | FRed | 18 Aug |
| • RE: fetchall_arrayref | Dan Ray | 18 Aug |
| • RE: fetchall_arrayref | Paul DuBois | 18 Aug |
| • RE: fetchall_arrayref | Dan Ray | 18 Aug |
| • Re: fetchall_arrayref | Thimble Smith | 18 Aug |
| • Re: fetchall_arrayref | Paul DuBois | 18 Aug |
| • Re: fetchall_arrayref | Thimble Smith | 18 Aug |
| • Re: fetchall_arrayref | Paul DuBois | 18 Aug |
| • Re: fetchall_arrayref | Scott Hess | 18 Aug |
| • Re: fetchall_arrayref | felix k sheng | 18 Aug |
| • RE: fetchall_arrayref | Darren L Sweeney | 18 Aug |
| • Re: fetchall_arrayref | Paul DuBois | 18 Aug |
