lp:~mnordhoff/loggerhead/statictuples
- Get this branch:
- bzr branch lp:~mnordhoff/loggerhead/statictuples
Branch merges
- Loggerhead Team: Pending requested
-
Diff: 253 lines (+134/-12)6 files modifiedloggerhead/_static_tuple_py.py (+80/-0)
loggerhead/changecache.py (+11/-2)
loggerhead/controllers/filediff_ui.py (+3/-0)
loggerhead/history.py (+3/-2)
loggerhead/util.py (+7/-0)
loggerhead/wholehistory.py (+30/-8)
Branch information
- Location:
- http://bzr.mattnordhoff.com/bzr/loggerhead/statictuples
- Last mirrored:
- Next mirror:
- Disabled
Updating branch...
Launchpad is processing new changes to this branch which will be available in a few minutes. Reload to see the changes.
Recent revisions
- 415. By Matt Nordhoff
-
Style tweak.
This either has a negligible impact on performance or a very slight positive impact.
Curiously, making the same change to set() has a slight negative impact (~1.39 -> ~1.58 secs for LP).
(Boy, I've had this sitting on my hard drive since 2009-11-
05T21:01: 27Z without fully testing it...) - 414. By Matt Nordhoff
-
StaticTuple interning!
I also made some of the code longer but hopefully more readable.
Testing compute_
whole_history_ data(bzr. dev), this does help, but it's not as much as I was expecting. OTOH, a list and dict each 28k items long is not free.
- 412. By Matt Nordhoff
-
Ehh, convert the iter_ancestry thing back to a generator expression.
It's a lot of data, and besides, one little function call is nothing compared to the rest of what iter_ancestry is doing.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:loggerhead