##// END OF EJS Templates
revlog: don't cache parsed tuples in the C module...
revlog: don't cache parsed tuples in the C module A cached entry creates ~8 Python objects per cached changeset, which comes to around 200 Bytes per cached changeset on AMD64. Especially for operations that touch a lot of changesets, that can easily sum up to more than a 100MB of memory. Simple tests on large repositories show <2% runtime penalty for ripping out the cache, even for cache heavy operations like "hg log" for all revisions. Differential Revision: https://phab.mercurial-scm.org/D9155

File last commit:

r46101:b1cea0dc default
r46402:9c6f9a1a default
Show More
Cargo.toml
12 lines | 237 B | text/plain | TOMLLexer
[package]
name = "rhg"
version = "0.1.0"
authors = ["Antoine Cezar <antoine.cezar@octobus.net>"]
edition = "2018"
[dependencies]
hg-core = { path = "../hg-core"}
clap = "2.33.1"
log = "0.4.11"
micro-timer = "0.3.1"
env_logger = "0.7.1"