solana-with-rpc-optimizations/ledger
steviez 9a7b681f0c
Remove key_size() method from Column trait (#34021)
This helper simply called std::mem::size_of<Self::Index>(). However, all
of the underlying functions that create keys manually copy fields into a
byte array. The fields are copied in end-to-end whereas size_of() might
include alignment bytes.

For example, a (u64, u32) only has 12 bytes of "data", but it would
have size 16 due to the 4 alignment padding bytes that would be
added to get the u32 (size 4) aligned with the u64 (size 8).
2023-11-19 23:05:32 -06:00
..
benches Replace get_tmp_ledger_path!() with self cleaning version (#33702) 2023-10-21 11:38:31 +02:00
src Remove key_size() method from Column trait (#34021) 2023-11-19 23:05:32 -06:00
tests Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
.gitignore
Cargo.toml Define InstalledScheduler::wait_for_termination() (#33922) 2023-10-31 14:33:36 +09:00
build.rs Crates have identical build.rs to frozen-abi can just be symlink (#33787) 2023-10-21 13:33:10 -05:00