mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] dw_dev_training 2012-02-19 08:37 pm (UTC)

In the old way of doing preload_rows, that's absolutely right. But I had already (on the 4th) optimized out that second part:

http://changelog.dreamwidth.org/1135575.html

This code creates an array and then loops over it once, loading everything. The second time through, that array will be empty, so it doesn't do any work other than calling the methods.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting