Mon, 04 Nov 2024 13:43:36 +0100 rust-compression: move the `Send` bound to the `Compressor` trait
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 13:43:36 +0100] rev 52309
rust-compression: move the `Send` bound to the `Compressor` trait All compressors should be `Send`, might as well make any future use easier.
Mon, 04 Nov 2024 12:10:22 +0100 rust-inner-revlog: cache the compressor
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 12:10:22 +0100] rev 52308
rust-inner-revlog: cache the compressor The `compress` function is unlikely to be used in highly contended situations, and creating a compressor has some overhead, on top of losing out on some potential advantages of longer-running optimizations from the compressor.
Mon, 04 Nov 2024 11:26:41 +0100 rust-lib: remove exports for not too common pattern-related types
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:26:41 +0100] rev 52307
rust-lib: remove exports for not too common pattern-related types This only muddies the lib and makes the imports more confusing.
Mon, 04 Nov 2024 11:21:43 +0100 rust-lib: move `PatternError` to the `filepatterns` module
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:21:43 +0100] rev 52306
rust-lib: move `PatternError` to the `filepatterns` module This is where it belongs
Mon, 04 Nov 2024 11:18:36 +0100 rust-lib: move `Dirstate*Error` to the `dirstate` module
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:18:36 +0100] rev 52305
rust-lib: move `Dirstate*Error` to the `dirstate` module That's where they belong and should always have been there.
Mon, 04 Nov 2024 11:13:05 +0100 rust-lib: only export very common types to the top of the crate
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:13:05 +0100] rev 52304
rust-lib: only export very common types to the top of the crate This was done very early in the Rust project's lifecycle and I had very little Rust experience. Let's keep the `DirstateParents` since they'll pop up in all higher-level code and make the rest more explicit imports to make the imports less confusing and the lib less cluttered.
Mon, 04 Nov 2024 11:07:05 +0100 rust-dirstate: remove star exports
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:07:05 +0100] rev 52303
rust-dirstate: remove star exports This makes the crate's imports confusing and muddies the discovery of the code.
(0) -30000 -10000 -3000 -1000 -300 -100 -30 -10 -7 +7 tip