D6594: RFC dirstatemap

Yuya Nishihara yuya at tcha.org
Sun Jul 7 09:45:49 EDT 2019


> sharing references between Rust and Python:
> https://raphaelgomes.dev/blog/articles/2019-07-01-sharing-references-between-python-and-rust.html.

Do you have some benchmark number compared to simpler (and dumb) approaches
such as caching PyList/Dict representation?

I heard boxing a PyObject has measurable cost, so we might even want to keep
the entire data backed by PyObjects depending on how frequently the data will
be exposed to Python world.

(I don't have expertise to comment on the soundness of the proposed ref handling
business, and this patch is too big for me to review, sorry.)


More information about the Mercurial-devel mailing list