]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
changelog for 0.9
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 13 Jul 2013 20:29:23 +0000 (16:29 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 13 Jul 2013 20:29:23 +0000 (16:29 -0400)
doc/build/changelog/changelog_09.rst

index 84110f0f3ecd9c524d8128b18c3c88973e6b6dcd..78c7e0c9ab022bb81ad62c8d75cedb6e150f377b 100644 (file)
@@ -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