aboutsummaryrefslogtreecommitdiffstats
path: root/.landscape.yml
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-30 21:09:08 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-30 21:11:30 +1300
commitdaf355bb4c7e7e1574d2977a49503eb6db2faa4a (patch)
treefecff428d6d1a19d303c779d0169ef6d6a1226cd /.landscape.yml
parent9abfb1aac27e28619c58d40ec050cc46fda2b30f (diff)
downloadmitmproxy-daf355bb4c7e7e1574d2977a49503eb6db2faa4a.tar.gz
mitmproxy-daf355bb4c7e7e1574d2977a49503eb6db2faa4a.tar.bz2
mitmproxy-daf355bb4c7e7e1574d2977a49503eb6db2faa4a.zip
console: add caching sort keys
This is a tad complicated. The underlying sorted list implementation expects the sort key to be stable for the lifetime of the object. However, if we sort by size, for instance, the sort order changes as the flow progresses through its lifecycle. We address this through two means: - Let order keys cache the sort value by flow ID. - Add a facility to refresh items in the list by removing and re-adding them when they are updated.
Diffstat (limited to '.landscape.yml')
0 files changed, 0 insertions, 0 deletions