New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

universal-red-black-tree

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-red-black-tree

Universal js which implement red black tree

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

universal-red-black-tree

Universal js which implement red black tree

Up and Run

yarn add universal-red-black-tree

or

npm i universal-red-black-tree

Interface

Could be found in the type defines, with apis: insert / insertKey / search / deleteNode / minimum / maximum.

Highlight

Use typescript

No external dependency

Tiny

Benchmark testing

System config:

process: 2.6 GHz Intel Core i7
Memory: 32 GB 2400 MHz DDR4

config node with max memory --max-old-space-size=8192

Below are testing result by use benchmark test file

  🚀👇🏻 Start build tree with 100000000 nodes ...
  ✅🎊 Finished build tree in [30077] milliseconds.
  Memory Usage: {"rss":6575562752,"heapTotal":6548602880,"heapUsed":6403859088,"external":8272}
  ✨  Done in 30.77s.

Keywords

red black tree

FAQs

Package last updated on 27 Jul 2019

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