diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-08-21 14:25:19 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <anssi.kaariainen@thl.fi> | 2013-09-14 20:52:17 +0300 |
| commit | ff723d894d9272ea721d1996432ffc806c2b8180 (patch) | |
| tree | d1934446e13c0d29d7aecfeb0c70b7f4e220f07e /docs/ref/forms | |
| parent | 886bb9d8780303b4c8f45c55e0ac0a6b644b73af (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/forms')
0 files changed, 0 insertions, 0 deletions
