Skip to content

Commit 2336159

Browse files
committed
signoff!: u128::ShiftRightStatic
BREAKING CHANGE: Remove the implementation of `DeprecatedSnippet` for `u128::shift_right_static::ShiftRightStatic`, implement `BasicSnippet` directly.
1 parent 4e36025 commit 2336159

File tree

3 files changed

+102
-266
lines changed

3 files changed

+102
-266
lines changed

tasm-lib/benchmarks/tasmlib_arithmetic_u128_shift_right_static_5.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
{
33
"name": "tasmlib_arithmetic_u128_shift_right_static_5",
44
"benchmark_result": {
5-
"clock_cycle_count": 26,
6-
"hash_table_height": 30,
7-
"u32_table_height": 62,
5+
"clock_cycle_count": 24,
6+
"hash_table_height": 24,
7+
"u32_table_height": 31,
88
"op_stack_table_height": 12,
99
"ram_table_height": 0
1010
},
@@ -13,9 +13,9 @@
1313
{
1414
"name": "tasmlib_arithmetic_u128_shift_right_static_5",
1515
"benchmark_result": {
16-
"clock_cycle_count": 26,
17-
"hash_table_height": 30,
18-
"u32_table_height": 95,
16+
"clock_cycle_count": 24,
17+
"hash_table_height": 24,
18+
"u32_table_height": 64,
1919
"op_stack_table_height": 12,
2020
"ram_table_height": 0
2121
},

tasm-lib/src/arithmetic/u128/shift_left_static.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl<const N: u8> BasicSnippet for ShiftLeftStatic<N> {
7575
}
7676

7777
#[cfg(test)]
78-
mod tests {
78+
pub(crate) mod tests {
7979
use super::*;
8080
use crate::test_prelude::*;
8181

0 commit comments

Comments
 (0)