]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- pull out type() ahead of time to cut down on fn calls.
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 13 Jul 2010 15:55:08 +0000 (11:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 13 Jul 2010 15:55:08 +0000 (11:55 -0400)
commiteb890eb402fea95f8fbe66622d40ba8189cb2b45
tree924381efdac0285eac84e09cab43a47736403ef0
parent800448ad621a7cbe50726b6e208f55264dc623bc
- pull out type() ahead of time to cut down on fn calls.
Would replace this with set(dir(self)) but not sure if some
class schemes may have issues with dir() (also for low numbers
of args, not using the set() probably faster).
lib/sqlalchemy/ext/declarative.py