Skip to main content
Module

x/structurae/pool.ts>Pool.create

Data structures for high-performance JavaScript applications.
Latest
method Pool.create
import { Pool } from "https://deno.land/x/structurae@4.0.1/pool.ts";

Creates a Pool of the specified size.

Type Parameters

T extends BitArray

Parameters

this: T

the size of the pool

size: number

Returns

InstanceType<T>

a new Pool