
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
git.sr.ht/~jamesponddotco/recache-go
Package recache
is a lightweight caching library for Go's standard regular
expression package that offers improved performance
by avoiding recompilation of global regular expression variables and by caching
regular expressions.
recache.Cache
implementationsThe recache
package itself only provides a cache interface and some utility
functions for users who wish to implement that interface. You can either use an
implementation created by someone else or write your own.
Implementations
lrure
provides a thread-safe in-memory cache using the least recently used
(LRU)
cache replacement policy.If wrote a recache.Cache
implementation and wish it to be linked here,
please send a patch.
To install recache
alone, run:
go get git.sr.ht/~jamesponddotco/recache-go
Anyone can help make recache better. Check out the contribution guidelines for more information.
The following resources are available:
Released under the MIT License.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.