cosmopolitan/net/https
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
..
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
certhashost.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
certhasip.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
chaincertificate.c Bring back gc() function 2024-01-08 10:26:28 -08:00
choosecertificatelifetime.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
describesslverifyfailure.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
finishcertificate.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
formatssltime.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
formatx509name.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
generatecertificateserial.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
generatehardrandom.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getentropy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getsslroots.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
https.h Implement proper time zone support 2024-05-04 23:06:37 -07:00
initializekey.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
initializerng.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isselfsigned.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isservercert.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
logcertificate.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sslroots.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tlsdebug.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tlsdie.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tlserror.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00