Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/maypok86/otter from 1.0.1-0.20240208151759-9bdf722b59ae to 1.1.0 #4

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 5, 2024

Bumps github.com/maypok86/otter from 1.0.1-0.20240208151759-9bdf722b59ae to 1.1.0.

Release notes

Sourced from github.com/maypok86/otter's releases.

v1.1.0

1.1.0 - 2024-03-04

The main innovation of this release is node code generation. Thanks to it, the cache will no longer consume more memory due to features that it does not use. For example, if you do not need an expiration policy, then otter will not store the expiration time of each entry. It also allows otter to use more effective expiration policies.

Another expected improvement is the correction of minor synchronization problems due to the state machine. Now otter, unlike other contention-free caches in Go, should not have them at all.

✨️Features

  • Added DeleteByFunc function to cache (#44)
  • Added InitialCapacity function to builder (#47)
  • Added collection of additional statistics (#57)

🚀 Improvements

  • Added proactive queue-based and timer wheel-based expiration policies with O(1) time complexity (#55)
  • Added node code generation (#55)
  • Fixed the race condition when changing the order of events (#59)
  • Reduced memory consumption on small caches
Changelog

Sourced from github.com/maypok86/otter's changelog.

1.1.0 - 2024-03-04

The main innovation of this release is node code generation. Thanks to it, the cache will no longer consume more memory due to features that it does not use. For example, if you do not need an expiration policy, then otter will not store the expiration time of each entry. It also allows otter to use more effective expiration policies.

Another expected improvement is the correction of minor synchronization problems due to the state machine. Now otter, unlike other contention-free caches in Go, should not have them at all.

✨️Features

  • Added DeleteByFunc function to cache (#44)
  • Added InitialCapacity function to builder (#47)
  • Added collection of additional statistics (#57)

🚀 Improvements

  • Added proactive queue-based and timer wheel-based expiration policies with O(1) time complexity (#55)
  • Added node code generation (#55)
  • Fixed the race condition when changing the order of events (#59)
  • Reduced memory consumption on small caches

1.0.0 - 2024-01-26

✨️Features

  • Builder pattern support
  • Cleaner API compared to other caches (#40)
  • Added SetIfAbsent and Range functions (#27)
  • Statistics collection (#4)
  • Cost based eviction
  • Support for generics and any comparable types as keys
  • Support ttl (#14)
  • Excellent speed (benchmark results)
  • O(1) worst case time complexity for S3-FIFO instead of O(n)
  • Improved hit ratio of S3-FIFO on many traces (simulator results)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/maypok86/otter](https://github.com/maypok86/otter) from 1.0.1-0.20240208151759-9bdf722b59ae to 1.1.0.
- [Release notes](https://github.com/maypok86/otter/releases)
- [Changelog](https://github.com/maypok86/otter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/maypok86/otter/commits/v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/maypok86/otter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 5, 2024
@maypok86 maypok86 merged commit 7ba4f36 into main Mar 5, 2024
1 check passed
@maypok86 maypok86 deleted the dependabot/go_modules/github.com/maypok86/otter-1.1.0 branch March 5, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant