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.
Loading
Please register or sign in to comment