go-collections
go-collections copied to clipboard
Blazingly fast Collections package. Inspired by Laravel, written in Go.
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4. Release notes Sourced from golangci/golangci-lint-action's releases. v4.0.0 What's Changed Documentation docs: update examples by @KunalSin9h in golangci/golangci-lint-action#826 docs: update section about GitHub Annotations by...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. Release notes Sourced from codecov/codecov-action's releases. v4.0.0 v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to...
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. Release notes Sourced from actions/cache's releases. v4.0.0 What's Changed Update action to node20 by @takost in actions/cache#1284 feat: save-always flag by @to-s in actions/cache#1242...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Open These updates have all been created already. Click a checkbox below to...
# What? # Why? # How?
We need to benchmark `kv.Collection.Filter`, which right now returns a new collection from `CollectMap`. A possible optimization is to allocate the collection early and return it directly.
Currently, `kv.Collection.Every` uses `kv.Collection.Each` to iterate over the collection, which doesn't return early when a non-matching value is encountered, forcing more iterations than necessary.
Some methods could use aliases to offer a more common interface to other uses. Some are described bellow. Feel free to suggest more. **count** - [ ] len - [...
Methods such as Pop, Delete, etc... should be optimized to avoid memory leaks. See [slice tricks](https://github.com/golang/go/wiki/SliceTricks).