cosmopolitan/third_party/zip
Justine Tunney f7780de24b
Make realloc() go 100x faster on Linux/NetBSD
Cosmopolitan now supports mremap(), which is only supported on Linux and
NetBSD. First, it allows memory mappings to be relocated without copying
them; this can dramatically speed up data structures like std::vector if
the array size grows larger than 256kb. The mremap() system call is also
10x faster than munmap() when shrinking large memory mappings.

There's now two functions, getpagesize() and getgransize() which help to
write portable code that uses mmap(MAP_FIXED). Alternative sysconf() may
be called with our new _SC_GRANSIZE. The madvise() system call now has a
better wrapper with improved documentation.
2024-07-07 12:40:30 -07:00
..
api.h Reduce header complexity 2023-11-28 14:39:42 -08:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
crc32.c Reduce header complexity 2023-11-28 14:39:42 -08:00
crc32.h Revert "Remove zlib namespacing (#1142)" 2024-05-14 20:45:23 -07:00
crypt.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
crypt.h Reduce header complexity 2023-11-28 14:39:42 -08:00
crypt_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
deflate.c Reduce header complexity 2023-11-28 14:39:42 -08:00
fileio.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
fileio_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
globals.c Reduce header complexity 2023-11-28 14:39:42 -08:00
LICENSE Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
osdep.h Implement proper time zone support 2024-05-04 23:06:37 -07:00
README.cosmo Reimport zip into third party 2022-10-16 13:39:41 -07:00
revision.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tailor.h Implement proper time zone support 2024-05-04 23:06:37 -07:00
timezone.c Reduce header complexity 2023-11-28 14:39:42 -08:00
timezone.h Reduce header complexity 2023-11-28 14:39:42 -08:00
trees.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ttyio.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ttyio.h Reduce header complexity 2023-11-28 14:39:42 -08:00
unix.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
unix_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
util.c Reduce header complexity 2023-11-28 14:39:42 -08:00
util_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
zbz2err.c Reduce header complexity 2023-11-28 14:39:42 -08:00
zip.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
zip.h Reduce header complexity 2023-11-28 14:39:42 -08:00
zipcloak.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ziperr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
zipfile.c Revert "Remove zlib namespacing (#1142)" 2024-05-14 20:45:23 -07:00
zipfile_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
zipnote.c Reduce header complexity 2023-11-28 14:39:42 -08:00
zipsplit.c Reduce header complexity 2023-11-28 14:39:42 -08:00
zipup.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
zipup.h Reduce header complexity 2023-11-28 14:39:42 -08:00

DESCRIPTION

  zip utility from Info-ZIP

ORIGIN

  source code obtained as zip30.tar.gz
  http://infozip.sourceforge.net/Zip.html
  https://sourceforge.net/projects/infozip/files/

LOCAL CHANGES

  - Use Cosmopolitan's PCLMUL optimized CRC32
  - Improve find_next_signature() performance using unlocked stdio