//
pkg.gl
Category
github.com/DomBlack/advent-of-code-2023
pkg
datastructures
ringbuffer
package
0.0.0-20231222115459-5d524ee0c798
Repository:
https://github.com/domblack/advent-of-code-2023.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
0
Dependents
2
Files
82 SLOC
#
Functions
NewGrowable
NewGrowable returns a growable ring buffer, that can be used as temporary storage.
#
Structs
Growable
Growable represents a growable ring buffer in which we can add items to and it will resize to fit everything in it However as we pop and dequeue items from it it will never shrink in size.