freebsd-src icon indicating copy to clipboard operation
freebsd-src copied to clipboard

bsdiff: Use mmap instead of malloc

Open ricardobranco777 opened this issue 1 year ago • 6 comments

Use mmap instead of malloc in bsdiff/bspatch.

Debian adds a patch only to bsdiff to use mmap. Also Chromium's fork uses mmap.

I tested it and it works. Haven't done any regression or performance tests though.

ricardobranco777 avatar Jan 20 '24 23:01 ricardobranco777