Nucleoc::WorkerPool
Simple worker pool that processes match requests concurrently using native Crystal channels.
Constructors
Class methods
default_size
SourceInstance methods
match_many(haystacks : Array(String), needle : String, compute_indices : Bool = false) : Tuple(Array(UInt16 | Nil), Array(Array(UInt32) | Nil) | Nil)
Submit a batch of haystacks to match against a single needle. Returns scores (and optional indices) in the original order.
size
Source