path: root/lib
AgeCommit message (Collapse)Author
2017-11-05Make lib/std/test/utf.myr a non-binary fileS. Gilles
2017-10-31Add zalgo text test.Ori Bernstein
2017-10-30Use `wday` to get weekday, instead of day of month.Ori Bernstein
Fixes #148
2017-10-29Implement graphemewidthS. Gilles
2017-10-18Add some ioctls from Linux x86S. Gilles
2017-10-13We need to free the loopck on err.Ori Bernstein
2017-10-12Minor cleanups on bio geti.Ori Bernstein
2017-10-12Add ncpu for openbsd.Ori Bernstein
2017-10-04Make ptrhash more explicitLucas Gabriel Vuotto
Hello, inlined is patch to make more clear the workings of ptrhash. Cheers. >From 8e01ae0a29d8937bc0fb5906085840e2f0d51ee3 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Vuotto <> Date: Tue, 3 Oct 2017 19:48:55 -0300 Subject: [PATCH] Make ptrhash more explicit X-Spam-Status: No, hits=0.000000 required=0.900000 Signed-off-by: Lucas Gabriel Vuotto <>
2017-10-01Add '{b=} option to print integers.Ori Bernstein
It outputs in base b <= 36.
2017-09-30Replace bio.status(@t) with std.result(@t, bio.err)Ori Bernstein
It's more consistent.
2017-09-28Reduce max bucket sizeOri Bernstein
Turns out that we were spending a lot of time initializing buckets. Reducing the size of the bucket reduces max alloc latency significantly, since we're not spending tens of milliseconds initializing hundreds of thousands of slots.
2017-09-26Left-pad %m and %k output with 0S. Gilles
2017-09-26Match date abbreviations in the middle of formatsS. Gilles
2017-09-23Implement OpenBSD 6.2 futex mutexes.Ori Bernstein
2017-09-22Missing an FD.Ori Bernstein
2017-09-20Add Linux CPU count function.Ori Bernstein
Linux users deserve fast builds too.
2017-09-20Move to custom stack on OSX. System-allocated just doesn't do it for us.Ori Bernstein
2017-09-20Fix tests on NetBSDOri Bernstein
2017-09-19Write body without formatting.Ori Bernstein
2017-09-18Fix typos.Ori Bernstein
2017-09-16fix some docs that were broken by renamingMilo Turner
2017-09-13Add loop checking to libfileutil.Ori Bernstein
2017-09-13Change interface of fileutil.bywalk to fix recursingS. Gilles
2017-09-13Create output path before using itOri Bernstein
bio-unitwr could be executed before bio-write and tmpout/ doesn't exist yet in that case. Thanks Tobias Kortkamp.
2017-09-12Add syscalls for OpenBSD 6.2Ori Bernstein
2017-09-13Fix off by one for FreeBSD/OpenBSDOri Bernstein
2017-09-13Fix missing syscall args.Ori Bernstein
Shit, bug in the code gen.
2017-09-12Fix typos.Ori Bernstein
2017-09-12Make announce API more cross platform.Ori Bernstein
Encapsulate announcement into a struct.
2017-09-12Remove junk code.Ori Bernstein
2017-09-11Add missing listen implementation on plan9.Ori Bernstein
2017-09-11Announce now implicitly listens.Ori Bernstein
2017-09-10Include deps in libhttp bld.subOri Bernstein
2017-09-10Fix typo.Ori Bernstein
2017-09-10Merge ../libhttpOri Bernstein
2017-09-10Refcount the HTTP server.Ori Bernstein
2017-09-10Add `tmpdir` function.Ori Bernstein
2017-09-10Shuffle a comment.Ori Bernstein
2017-09-10Add fexists check before mkdir.Ori Bernstein
More reliable on more systems than just mkdir.
2017-09-10Fix 32 bit float formatting.Ori Bernstein
It works now.
2017-09-09Fix gettimeofday() on OSX.Ori Bernstein
They added an arg. We need to as well.
2017-09-09Give a sane default for NCPU.Ori Bernstein
2017-09-09Add missing files.Ori Bernstein
2017-09-09Improve siphash performance and testsLucas Gabriel Vuotto
* Inline rotl * Be specific about which entry failed from the test vector Signed-off-by: Lucas Gabriel Vuotto <>
2017-09-08Replace murmurhash with siphashLucas Gabriel Vuotto
Signed-off-by: Lucas Gabriel Vuotto <>
2017-09-08Add siphash-2-4 implementation and testsLucas Gabriel Vuotto
Signed-off-by: Lucas Gabriel Vuotto <>
2017-09-08Use testr in lib/std/test/hashfuncs.myrLucas Gabriel Vuotto
Signed-off-by: Lucas Gabriel Vuotto <>
2017-09-04Reduce the number of allocations in regex.Ori Bernstein
365us to
2017-09-04Minimum 10 samples, target 100ms running.Ori Bernstein