mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 18:24:36 +00:00
perf: simplify method signatures and reduce clone across multiple files (#1663)
This commit is contained in:
@@ -243,7 +243,7 @@ mod tests {
|
||||
let iterations = 100000;
|
||||
|
||||
let peer_group_info =
|
||||
PeerGroupInfo::generate_with_proof(group_name.clone(), group_secret.clone(), peer_id);
|
||||
PeerGroupInfo::generate_with_proof(group_name, group_secret.clone(), peer_id);
|
||||
|
||||
let start = std::time::Instant::now();
|
||||
for _ in 0..iterations {
|
||||
|
||||
Reference in New Issue
Block a user