Open
Description
Continued from #28, from @rickb777
Here are some ideas for methods that you could add:
- push and insert slices - i.e. internalise the loop needed and reduce loop overhead
- add adaptors for the PopBack, PopFront and At methods to provide iterators (Go 1.23)
- add
Full() bool
method - a shortcut forq.Len() == q.Cap()
which would be useful for anyone wanting to impose a maximum size or avoid resizing
Metadata
Assignees
Labels
No labels
Activity