[mythtv-firehose] mythtv/master commit: 45b529397 by Raymond Wagner (wagnerrp)
MythTV
noreply at mythtv.org
Sun Sep 4 07:00:24 UTC 2011
Author: Raymond Wagner <rwagner at mythtv.org>
Change Date: 2011-09-03T23:56:41-07:00
Push Date: 2011/09/04 00:00:17 -0700
Repository: mythtv
Branch: master
New Revision: 45b52939719d82409df120fbf0d4781f35536618
Changeset: https://github.com/MythTV/mythtv/commit/45b529397
Log:
Use lookup table for comparison operators.
This is a bit of an optimization of 7768ebc55dd, where the decision on
how to compare two different classes is now only performed once, at
which point the comparison is written into a lambda function, and stored
to a lookup table. Further comparison of that type will use the
comparison method in the lookup table directly, rather than work through
the full decision tree each time.
Modified:
mythtv/bindings/python/MythTV/dataheap.py
mythtv/bindings/python/MythTV/mythproto.py
mythtv/bindings/python/MythTV/utility.py
More information about the mythtv-firehose
mailing list