cosmopolitan/tool/net
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
..
demo Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
tiny Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
.init.lua Add SSL to redbean 2021-06-24 13:20:50 -07:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
counters.inc Make fixes and improvements 2022-10-19 07:19:19 -07:00
definitions.lua [Redbean] Add UuidV7 method () 2024-07-01 06:06:56 -07:00
dig.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
echo.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
favicon.ico Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
fetch.inc Refactor and improve CTL and other code 2024-06-04 05:45:48 -07:00
getadaptersaddresses.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
help.txt [Redbean] Add UuidV7 method () 2024-07-01 06:06:56 -07:00
largon2.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
launch.c Support any HTTP method 2024-02-22 14:12:18 -08:00
lfinger.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lfinger.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lfuncs.c [Redbean] Add UuidV7 method () 2024-07-01 06:06:56 -07:00
lfuncs.h [Redbean] Add UuidV7 method () 2024-07-01 06:06:56 -07:00
libresolv_query.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
ljson.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
ljson.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lmaxmind.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
lpath.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
lpath.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lre.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lsqlite3.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
luacheck.h Reduce header complexity 2023-11-28 14:39:42 -08:00
redbean-original.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean-static.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean-unsecure.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
redbean.png Make improvements 2020-09-14 00:02:34 -07:00
sandbox.h Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
winbench.c Simplify memory manager 2024-07-05 05:47:15 -07:00