New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

git.sr.ht/~jamesponddotco/recache-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git.sr.ht/~jamesponddotco/recache-go

  • v1.0.1
  • Go
  • Socket score

Version published
Created
Source

recache

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.

Features

  • Stable cache interface.
  • Simple and easy-to-use API.
  • Thread-safe caching of compiled regular expressions.
  • Lazy compilation of regular expressions.
  • Minimal memory allocations.

recache.Cache implementations

The 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

If wrote a recache.Cache implementation and wish it to be linked here, please send a patch.

Installation

To install recache alone, run:

go get git.sr.ht/~jamesponddotco/recache-go

Contributing

Anyone can help make recache better. Check out the contribution guidelines for more information.

Resources

The following resources are available:


Released under the MIT License.

FAQs

Package last updated on 01 Apr 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc