Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/alireza-ahmadi/siahe

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/alireza-ahmadi/siahe

  • v0.1.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Siahe

PkgGoDev

Siahe provides a simple API for indexing terms that are related to a specific ID and retrieving those IDs by doing efficient prefix search on their indexed related terms. Current implementation of Siahe uses Radix Tree under the hood.

FAQ

What is the use case of Siahe?

I believe that searching over a set of terms which has low-to-zero change frequency is the best use case for this library. In fact, I've implemented this library to use it in a service which is responsible for providing instant(ish) search functionality over a few thousand terms.

Can Siahe be thread safe?

Unfortunately no. In my use case, data wouldn't change after the initial insertion so I've gone with a simpler single writer thread approach; However, you can use multiple threads for searching among indexed terms.

What does "Siahe" mean?

Siahe means list in Persian.

FAQs

Package last updated on 19 Aug 2020

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