mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Replace allocator with freeing-bump allocator (#1656)
* Link substrate issue tracker in panic * Replace allocator with freeing-bump allocator * Revert me: Panic on double allocate/free * Revert me: Add shallow benchmark for a first impression * Revert "Revert me: Add shallow benchmark for a first impression" This reverts commit 5f0d4df39395eb55c9ec2d6fe1ed992533475fec. * Revert "Revert me: Panic on double allocate/free" This reverts commit a114df7d6cfc21d60af396ccca02e5c8205db6ce. * Rename heap to FreeingBumpHeapAllocator * Rename heap.rs to allocator.rs * Use sandbox heap * Move functions * Move variables into constructor * Revert "Move variables into constructor" This reverts commit f46fa0d0cdf4ea97760ccce58003b0d33f433743. * Remove unnecessary casts * Add comment for new parameter * Improve typing * Move variables into constructor * Avoid dynamic allocation * Remove unused variables * Revert "Link substrate issue tracker in panic" This reverts commit 32dfa1d02bcf881d1d514a930fcc0fdf3c5f8e08. In the meantime this was fixed in https://github.com/paritytech/substrate/pull/1667. * Improve naming * Only assert in debug mode * Remove dynamic allocation
This commit is contained in:
Generated
-1
@@ -3626,7 +3626,6 @@ dependencies = [
|
||||
"assert_matches 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
||||
Reference in New Issue
Block a user