Skip to content
Snippets Groups Projects
Commit 7b876075388d authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

copies: introduce a basic Rust function for `combine_changeset_copies`

This new function mirror the python code.  This first implementation does a lot
of data copies and is therefore quite slow. However my goal here is to create a
simple "frame" from where to start more aggressive optimization.

This patch focus on the `hg-core` part of this work. Coming patches will do the
necessary `hg-cpython` work  to be able to use this from Python.

For this first patch, the structure of the Rust patch is close to the python
code. In later patch we will change that structure to prepare performance
improvement. Such patch could have been folded in that one, however I find it
clearer to use explicit patch to slowly change the code structure.
parent d7167308ccb8
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment