summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2013-08-21 14:25:19 +0300
committerAnssi Kääriäinen <anssi.kaariainen@thl.fi>2013-09-14 20:52:17 +0300
commitff723d894d9272ea721d1996432ffc806c2b8180 (patch)
treed1934446e13c0d29d7aecfeb0c70b7f4e220f07e /docs/ref
parent886bb9d8780303b4c8f45c55e0ac0a6b644b73af (diff)
Fixed #20950 -- Instantiate OrderedDict() only when needed
The use of OrderedDict (even an empty one) was surprisingly slow. By initializing OrderedDict only when needed it is possible to save non-trivial amount of computing time (Model.save() is around 30% faster for example). This commit targetted sql.Query only, there are likely other places which could use similar optimizations.
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions