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

toni

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toni - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

10

lib/toni.js
/*
* Toni, a simple and efficient bitmap implementation for (32 bits) positive integer sets
* (with no element repetition) using bitwise operations and a Buffer. Modifying
* a single bit instead of an entire byte, obviously saves 87.5% of Buffer space,
* but it also implies a gain greater than 200% in performances, when it was used
* with big integer ranges.
* Toni, a simple and efficient bitmap implementation for positive integer sets
* (max 32 bits), with no element repetition, using bitwise operations and a Buffer.
* Modifying a single bit instead of an entire byte, obviously saves 87.5% of Buffer
* space, but it also implies a gain greater than 200% in performances, when it was
* used with big integer ranges.
*

@@ -8,0 +8,0 @@ * http://en.wikipedia.org/wiki/Bit_array

{
"name": "toni"
, "version": "0.4.1"
, "description": "Toni, a simple and efficient bitmap implementation for (32 bits) positive integer sets (with no element repetition), using bitwise operations and a Buffer. Modifying a single bit instead of an entire byte, obviously saves 87.5% of Buffer space, but it also implies a gain greater than 200% in performances, for accessing values, when it was used with big integer ranges."
, "version": "0.4.2"
, "description": "Toni, a simple and efficient bitmap implementation for positive integer sets (max 32 bits), with no element repetition, using bitwise operations and a Buffer. Modifying a single bit instead of an entire byte, obviously saves 87.5% of Buffer space, but it also implies a gain greater than 200% in performances, for accessing values, when it was used with big integer ranges."
, "homepage": "https://github.com/rootslab/toni"

@@ -6,0 +6,0 @@ , "private": false

@@ -22,8 +22,9 @@ ### Toni

> __Toni__, a simple and efficient bitmap implementation for (__32 bits__) positive integer sets,
> __Toni__, a simple and efficient bitmap implementation for positive integer sets (max 32 bits),
> with no element repetition, using bitwise operations and a Buffer.
> Modifying a single bit instead of an entire byte, obviously saves __87.5%__ of Buffer space,
> but it also implies a gain greater than 200% in performances, for accessing values, when it was
> used with big integer ranges.
> Modifying a single bit instead of an entire byte, to signal item presence in the current set,
> obviously saves __87.5%__ of Buffer space, but it also implies a gain greater than __200%__ in
> performances, for accessing values, when it was used with big integer ranges.
> See [BitArray](http://en.wikipedia.org/wiki/Bit_array).

@@ -30,0 +31,0 @@

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