diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-13 11:35:04 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-13 12:42:39 +0100 |
| commit | 80b91983c97db284ce39a695cc0258902e1d70a9 (patch) | |
| tree | f9c6c0ef8af3234ef2f23d6693ae751465c88e4d /tests/reltest | |
| parent | 9853e3c89cf37bba99aaa6318b6dc0f023caa2f3 (diff) | |
Micro-optimize Symbol.__init__() a bit
Chained assignments turn a bunch of LOAD_CONSTs into DUP_TOPs. Shaves
~10% off the runtime of _lookup_sym().
Do the same for Choice.__init__(), just for consistency. Remove an
accidental duplicated assigment to 'defaults' too.
Diffstat (limited to 'tests/reltest')
0 files changed, 0 insertions, 0 deletions
