]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Get a bit more speed into the new _sort_states function. It's probably possible
authorGaëtan de Menten <gdementen@gmail.com>
Fri, 19 Sep 2008 07:11:46 +0000 (07:11 +0000)
committerGaëtan de Menten <gdementen@gmail.com>
Fri, 19 Sep 2008 07:11:46 +0000 (07:11 +0000)
commit0264fea0505aa65bcb4d3d9795177859b1969b72
tree0f5123f716851f3826a11bbe816c6923793925b0
parentbf493ac0b7a11f14c6db7fdbb90239a8e70bc752
Get a bit more speed into the new _sort_states function. It's probably possible
to get even more speed by getting rid of the decorator and call the method
directly, but it makes for slightly less readable code so I won't do it since I
don't know whether this code is speed-critical or not.
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/uowdumper.py