Re:PHP's ob_start() pre-allocates 40k memory per call
by wvenable on Thursday December 08, 2011 @11:55AM
(#3329859)
Actually that's not necessarily the best way because it's very memory intensive. Imagine a 50 line table containing text columns, link columns, images, buttons. That is a lot of objects in a DOM representation. A procedural loop generating the same table is significantly faster and smaller (but harder to work with). I've found the best thing is some combination -- some data structures and some flat procedural processing.
[ Parent
| on HN ]
There are no comments on this comment yet.