diff options
| author | 2024-03-08 11:45:15 +0100 | |
|---|---|---|
| committer | 2024-03-08 11:52:04 +0100 | |
| commit | ce3ae0953d5c96578188d8451941970b3167fce6 (patch) | |
| tree | d2a7e7e0bea9364a2f3e3cee60eedd74567d309e /vendor/github.com/hashicorp/golang-lru/v2/doc.go | |
| parent | [bugfix] add workaround for Xsqlite_interrupt() permanently breaking connecti... (diff) | |
| download | gotosocial-0.14.1.tar.xz | |
[chore] Downgrade sqlite v1.29.2 -> v1.28.0 (#2736)v0.14.1
* [chore] Downgrade sqlite v1.29.2 -> v1.29.0
* go down to v1.28.0
Diffstat (limited to 'vendor/github.com/hashicorp/golang-lru/v2/doc.go')
| -rw-r--r-- | vendor/github.com/hashicorp/golang-lru/v2/doc.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/vendor/github.com/hashicorp/golang-lru/v2/doc.go b/vendor/github.com/hashicorp/golang-lru/v2/doc.go deleted file mode 100644 index 24107ee0e..000000000 --- a/vendor/github.com/hashicorp/golang-lru/v2/doc.go +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -// Package lru provides three different LRU caches of varying sophistication. -// -// Cache is a simple LRU cache. It is based on the LRU implementation in -// groupcache: https://github.com/golang/groupcache/tree/master/lru -// -// TwoQueueCache tracks frequently used and recently used entries separately. -// This avoids a burst of accesses from taking out frequently used entries, at -// the cost of about 2x computational overhead and some extra bookkeeping. -// -// ARCCache is an adaptive replacement cache. It tracks recent evictions as well -// as recent usage in both the frequent and recent caches. Its computational -// overhead is comparable to TwoQueueCache, but the memory overhead is linear -// with the size of the cache. -// -// ARC has been patented by IBM, so do not use it if that is problematic for -// your program. For this reason, it is in a separate go module contained within -// this repository. -// -// All caches in this package take locks while operating, and are therefore -// thread-safe for consumers. -package lru |
