Closed johnmave126 closed 1 year ago
The previous implementation of cpio-archive of newc format contains two problems:
This commit fixes these two problems, and replaces vec! by an on-stack array as the padding scratch space to avoid unnecessary heap allocation.
vec!
The previous implementation of cpio-archive of newc format contains two problems:
This commit fixes these two problems, and replaces
vec!
by an on-stack array as the padding scratch space to avoid unnecessary heap allocation.