Skip to content

Commit

Permalink
rafs: avoid unnecessary memory copy by using VecDeque
Browse files Browse the repository at this point in the history
Vec::insert(0, node) will cause unnecessary memory copy, so use
VecDeque instead.

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
  • Loading branch information
jiangliu committed Mar 17, 2023
1 parent 578fe72 commit 1af6469
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 1af6469

Please sign in to comment.