https://github.com/ngynkvn/ringbuffer
Simply std.RingBuffer but generic
https://github.com/ngynkvn/ringbuffer
zig
Last synced: about 1 year ago
JSON representation
Simply std.RingBuffer but generic
- Host: GitHub
- URL: https://github.com/ngynkvn/ringbuffer
- Owner: ngynkvn
- License: mit
- Created: 2024-10-25T19:28:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-02T20:41:16.000Z (over 1 year ago)
- Last Synced: 2025-04-02T04:42:08.679Z (about 1 year ago)
- Topics: zig
- Language: Zig
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ringbuffer
This is just a direct rip of [RingBuffer](https://github.com/ziglang/zig/blob/e27b4647d86e3bdaf2c4fd95db2e7d359afd7fc4/lib/std/RingBuffer.zig#L16) but with a generic type parameter so I can use it for floats
*I would not use this*, RingBuffer is small enough you can / should just copy the code instead of pulling this as a dependency.