Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/velo/src/utils/next_power_of_two.ts

A high-performance caching library for Deno. Supports LRU, LFU, ARC, and TinyLFU.
Latest
import * as velo from "https://deno.land/x/velo@1.0.0/src/utils/next_power_of_two.ts";

Functions

Returns the smallest power of to that is equal to or greater than the given value.