From: Mike Bayer Date: Sat, 13 Jul 2013 20:29:23 +0000 (-0400) Subject: changelog for 0.9 X-Git-Tag: rel_0_9_0b1~178 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=040680a19cf29844356236c34e2d4ccdce601497;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git changelog for 0.9 --- diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst index 84110f0f3e..78c7e0c9ab 100644 --- a/doc/build/changelog/changelog_09.rst +++ b/doc/build/changelog/changelog_09.rst @@ -6,6 +6,21 @@ .. changelog:: :version: 0.9.0 + .. change:: + :tags: bug, orm + :tickets: 2778 + + A performance fix related to the usage of the :func:`.defer` option + when loading mapped entities. The function overhead of applying + a per-object deferred callable to an instance at load time was + significantly higher than that of just loading the data from the row + (note that ``defer()`` is meant to reduce DB/network overhead, not + necessarily function call count); the function call overhead is now + less than that of loading data from the column in all cases. There + is also a reduction in the number of "lazy callable" objects created + per load from N (total deferred values in the result) to 1 (total + number of deferred cols). Also in 0.8.3. + .. change:: :tags: bug, sqlite :tickets: 2781