zig/lib
Prokop Randacek 6fb23542fe Buffer the logging function
The default logging function used to have no buffer. So a single log
statement could result in many individual write syscalls each writing
only a couple of bytes.

After this change the logging function now has a 4kb buffer. Only log
statements longer than 4kb now do multiple write syscalls.

4kb is the default bufferedWriter size and was choosen arbitrarily.

The downside of this is that the log function now allocates 4kb more
stack space but I think that is an acceptable trade-off.
2024-02-09 14:02:57 -08:00
..
compiler_rt Replace std.rand references with std.Random 2024-02-08 15:21:35 +01:00
docs Update styles in std docs to correct display glitch 2024-01-12 16:25:55 -08:00
include update C language headers to LLVM 17 2023-09-19 09:37:31 -07:00
init Grammar fixes (#18320) 2023-12-20 13:17:15 +02:00
libc mingw-w64: remove msvcrt sources 2024-01-20 00:21:34 +00:00
libcxx update libcxx to latest LLVM release/17.x 2023-09-19 09:37:53 -07:00
libcxxabi libcxxabi: update to LLVM 17 2023-09-19 09:37:31 -07:00
libunwind libunwind: update to LLVM 17 2023-09-19 09:37:31 -07:00
std Buffer the logging function 2024-02-09 14:02:57 -08:00
tsan tsan: update rtl files to LLVM 17.0.6 2024-01-10 01:00:37 -07:00
build_runner.zig Replace std.rand references with std.Random 2024-02-08 15:21:35 +01:00
c.zig std: finish cleanup up asm 2023-07-31 03:49:21 -04:00
compiler_rt.zig move libssp into libcompiler_rt 2023-11-10 13:12:10 -07:00
test_runner.zig remove std.io.Mode 2024-02-01 15:22:36 +02:00
zig.h cbe: fix non-msvc externs and exports 2024-01-03 02:52:25 -05:00