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

quickbit-native

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quickbit-native - npm Package Compare versions

Comparing version 2.1.5 to 2.2.0

vendor/libquickbit/vendor/libsimdle/include/simdle/store.h

4

index.js

@@ -33,2 +33,6 @@ const binding = require('node-gyp-build')(__dirname)

exports.clear = function clear (field, ...chunks) {
binding.quickbit_napi_clear(field, chunks)
}
exports.findFirst = function findFirst (field, value, position = 0) {

@@ -35,0 +39,0 @@ const n = field.byteLength * 8

2

package.json
{
"name": "quickbit-native",
"version": "2.1.5",
"version": "2.2.0",
"description": "libquickbit JavaScript bindings for Node.js",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -40,2 +40,6 @@ # quickbit-native

#### `clear(field, chunk)`
Clear the bits from `field` that are set in the `{ field, offset }` chunk.
#### `const i = findFirst(field, value[, position])`

@@ -42,0 +46,0 @@

@@ -11,3 +11,3 @@ # libquickbit

Bit fields may be indexed to enable skipping uninteresting portions in effectively constant time. An index is a 128-ary balanced tree of bits with a set bit in a branch indicating that all bits below are the same. An index has a fixed depth of 3 with leaves of the tree being the bit field itself. A single index can therefore contain 128^3 bits (256 KiB). To index more than 256 KiB, several indices may be used.
Bit fields may be indexed to enable skipping uninteresting portions in effectively constant time. An index is two 128-ary balanced trees of bits with a set bit in a branch indicating that all bits below are the same, either unset or set depending on the tree. An index has a fixed depth of 3 with leaves of the trees being the bit field itself. A single index can therefore contain 128^3 bits (256 KiB). To index more than 256 KiB, several indices may be used.

@@ -14,0 +14,0 @@ An index is initialised using `quickbit_index_init()` and maintained using `quickbit_index_update()`:

@@ -31,2 +31,3 @@ cmake_minimum_required(VERSION 3.22)

include/simdle/or.h
include/simdle/store.h
include/simdle/sum.h

@@ -33,0 +34,0 @@ include/simdle/vec.h

@@ -11,2 +11,2 @@ # libsimdle

ISC
Apache 2.0

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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