diff contrib/hammerclient.py @ 5680:18a70ae9fb0b

topic: add a basic in-memory cache for topic information Right now reading topic information twice means we uncompress a full revision twice. On a simple `hg topic --age` in my mercurial clone, the total runtime goes from 40s to 10s. Still too slow, but significantly less.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 13 Dec 2020 14:48:28 +0100
parents f97379faefa3
children
line wrap: on
line diff