D6594: RFC dirstatemap
pierre-yves.david at ens-lyon.org
Mon Jul 8 10:06:20 EDT 2019
On 7/7/19 3:45 PM, Yuya Nishihara wrote:
>> sharing references between Rust and Python:
> 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.)
One facet of this also simply to have an actual case where we share ref.
There will be other area where we needs them (eg: revset, revlog, …). So
battle testing the principle in a simple case is useful. To me, this is
a good enough reason to go this way. Working around it will only be
More information about the Mercurial-devel