Compare commits

...

2 Commits

Author SHA1 Message Date
zhiqiangxu 16dee5e283
Merge 4520afef3e into 81729eca91 2024-02-10 11:26:30 -07:00
zhiqiangxu 4520afef3e avoid realloc 2023-08-29 00:03:29 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ impl Assembly {
}
// Pre-compute commitments for the URS.
let mut commitments = vec![];
let mut commitments = Vec::with_capacity(p.columns.len());
for i in 0..p.columns.len() {
// Computes the permutation polynomial based on the permutation
// description in the assembly.