mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-04 06:43:07 +00:00
optimize transpose_in_place_square_small code
This commit is contained in:
parent
ae21ef8fd1
commit
1d8f71f84f
@ -16,7 +16,7 @@ unsafe fn transpose_in_place_square_small<T>(
|
||||
lb_size: usize,
|
||||
x: usize,
|
||||
) {
|
||||
for i in x..x + (1 << lb_size) {
|
||||
for i in x + 1..x + (1 << lb_size) {
|
||||
for j in x..i {
|
||||
swap(
|
||||
arr.get_unchecked_mut(i + (j << lb_stride)),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user