-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsq_cache.go
37 lines (35 loc) · 1.9 KB
/
sq_cache.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// BSD 3-Clause License
//
// Copyright © 2025 - Marius Romeiser. All rights reserved.
//
// \ / \ /
// .____-/.\-____. `\\ //' .____-/.\-____.
// ~`-'~ \\ // ~`-'~
// \\. __-__ .//
// ___/-_.-.__`/~ ~\'__.-._-\___
// .|. ___________.'__/__ ~-[ \.\'-----'/./ ]-~ __\__`.___________ .|.
// ~o~~~~~~~--------______-~~~~~-_/_/ | . | \_\_-~~~~~-______--------~~~~~~~o~
// ' ` + + + (X)(X) ~--\__ __/--~ (X)(X) + + + ' `
// (X) `/.\' ~ `/.\' (X)
// "\_/" "\_/"
// __
// _________ ___ ______ _____/ /________ ____
// / ___/ __ `/ / / / __ `/ __ / ___/ __ \/ __ \
// (__ ) /_/ / /_/ / /_/ / /_/ / / / /_/ / / / /
// /____/\__, /\__,_/\__,_/\__,_/_/ \____/_/ /_/
// squadron/_/
//
// The "sq_cache" package is a highly efficient, flexible caching library designed to enhance data retrieval and memory
// management in applications that require fast data access. It provides a robust solution to caching with a focus on
// optimizing both speed and memory usage. Using the Least Recently Used (LRU) eviction strategy, "sq_cache" ensures
// that the least recently accessed cache entries are evicted when the cache reaches its capacity, making it an ideal
// choice for high-performance caching scenarios.
//
// The powerful library is suitable for applications requiring high-performance caching with fine-tuned memory
// management. Its flexibility, including support for TTL, periodic cleanup, and detailed telemetry, makes it a perfect
// choice for building efficient caching systems in a wide range of use cases.
package sq_cache
const (
// The name of the library
LibraryName = "sq_cache"
)