Use io. Copy() instead of the combination of os. ReadFile() and os. WriteFile() to avoid reading the entire file into memory and writing it back to disk. This can reduce memory usage and improve efficiencypull/223/head
parent
3eaa2dd2bf
commit
a877b44caf
Loading…
Reference in new issue