Use realloc instead of malloc+memcpy when growing a POD SmallVector. A smart
realloc implementation can try to expand the allocated memory block in-place, avoiding the copy. llvm-svn: 105605
Loading
Please register or sign in to comment
realloc implementation can try to expand the allocated memory block in-place, avoiding the copy. llvm-svn: 105605