A simple gap buffer implementation for Nim

Samadi van Koten 2c4248d183 Implement the other half of splitLines 7 years ago
.gitignore 043ff935cc Add benchmarking program 7 years ago
README.md 0eee9bf906 Add simple README 7 years ago
benchmark.nim af15adddc8 Add some iterators including items and splitLines 7 years ago
example.nim 2c4248d183 Implement the other half of splitLines 7 years ago
gapbuffer.nim 2c4248d183 Implement the other half of splitLines 7 years ago
gapbuffer.nimble 51c30df78a Update .nimble file to only install necessary files 7 years ago

README.md

Gap Buffers for Nim

This library implements a simple gap buffer for Nim. I won't claim it's fast, but it should be good enough for most uses.

If you're interested in exactly how fast this library is, take a look at benchmark.nim and run nim c -r benchmark.nim.