1
0
Fork
You've already forked slashtmp
0
forked from NRK/slashtmp
Misc code snippets and experiments.
  • C 69.1%
  • Tcl 13.5%
  • Lua 13.1%
  • BQN 3.4%
  • Shell 0.5%
  • Other 0.4%
Find a file
2024年12月11日 08:58:54 +00:00
AoC aoc24: day11: add a memoized solution 2024年12月11日 08:58:54 +00:00
compression qoi-enc: init 2024年06月30日 20:35:34 +00:00
data-structures heap.c: init 2024年01月01日 17:52:13 +00:00
hash chibihash64: fix constant to be odd 2024年11月17日 01:20:19 +00:00
isdigit isdigit: reduce code noise 2022年08月29日 20:03:30 +06:00
math i32sqrt: init 2024年10月24日 03:48:12 +00:00
misc bits: add endian aware loads 2024年08月03日 15:45:25 +00:00
parsers ini: trim the right end of the key 2024年06月05日 14:17:45 +00:00
prng randogram: init 2024年04月13日 22:18:58 +00:00
puzzles merge-sorted-array: init 2024年02月26日 13:43:32 +00:00
sort adaptive-introsort: init 2024年08月09日 19:04:30 +00:00
LICENSE add loicense 2022年07月08日 23:36:41 +06:00
README.md README: update notable projects 2024年07月11日 13:45:29 +00:00

slashtmp

This repo contains various code snippets which are small/useless/incomplete etc.

I've had plenty of such projects scattered through out my file-system, a lot of them have been lost to system restarts due to the fact that they were in /tmp directory, which on my system is a ramdisk. That's also where the name of the repo comes from; with the "/" written out.

Notable projects

Name Description
qoi-dec.c Fast, zero-dependency QOI decoder
qoi-enc.c Streaming zero-dependency QOI encoder
radix-integer.c Generic radix/american-flag sort implementation that works on both signed and unsigned integer key
heapsort.c Optimized heapsort implementation with a qsort like interface
ini.c Simple, zero-dependency ini parser
y4m.c Zero-dependency y4m parser
xxhash32-stream.c, xxhash64-stream.c Streaming interface for xxhash32 and xxhash64
xxhash32.c One pass interface for xxhash32
fate Simple task scheduler

License

All the source code in this repo, unless otherwise stated, is available under MPL v2.0.