quickbit-native
Advanced tools
Comparing version 2.1.5 to 2.2.0
@@ -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 |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 3 instances in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
413001
40
0
104
73
3