Zlist - A lightweight, modern alternative to ls built with Zig

Click the M​:down_arrow: / A toggle in the top left to switch back to markdown.

1 Like

Quick update — just tagged v0.1.8.

Main change is a simple NamePool for the entry names. It’s basically just a list of chunks. Name comes in, if the current chunk doesn’t have enough room left I allocate a new one. Avoids the old “dupe every single name” approach and everything gets freed in one shot at the end. Makes a noticeable difference once the directory gets larger.

Also refreshed the README benchmarks with matching colored-grid flags for zl / eza / lsd. The previous eza numbers that stayed flat around 3 ms even at 50k were a bad run on my side — ignore those. New table has zl ahead on every size (roughly 3× vs eza).

Would be interesting to hear if the numbers hold up on other machines.

1 Like