You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Lea code contains several loops on dictionaries that use items() or
values() methods. OK, this allows for the same implementation on Python 2 and
3, which is handy. However, this is inefficient on Python 2 because these
methods build lists instead of iterators; there are penalties on speed and
memory. In Python 2, the right methods to call are iteritems() and
itervalues(). Note that these methods were present in the fist versions of Lea,
before porting to Python 3. It would be nice if Lea uses the most efficient
methods depending on the Python version on which it runs.
Original issue reported on code.google.com by pde@n-side.com on 7 Mar 2015 at 5:42
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
pde@n-side.com
on 7 Mar 2015 at 5:42The text was updated successfully, but these errors were encountered: