functionalscript 0.0.572 → 0.0.573
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/bigint/README.md +16 -16
package/package.json
CHANGED
package/types/bigint/README.md
CHANGED
|
@@ -4,22 +4,22 @@ Bun has a `bigint` size limitation. It's `1_048_575` bits (`1024 ** 2`) or `131_
|
|
|
4
4
|
|
|
5
5
|
## Benchmarks
|
|
6
6
|
|
|
7
|
-
###
|
|
8
|
-
|
|
9
|
-
|Framework|
|
|
10
|
-
|
|
11
|
-
|Bun |1.781681 |2.079615
|
|
12
|
-
|Deno 1 |0.710344 |1.917003
|
|
13
|
-
|Deno 2 |0.986602 |2.286932
|
|
14
|
-
|Node 16 |1.521150 |2.330505
|
|
15
|
-
|Node 18 |1.393006 |2.312573
|
|
16
|
-
|Node 20 |1.055315 |2.320039
|
|
17
|
-
|Node 22 |0.983075 |2.336697
|
|
18
|
-
|Node 23 |0.699960 |1.872965
|
|
19
|
-
|
|
20
|
-
`
|
|
21
|
-
|
|
22
|
-
### Minus
|
|
7
|
+
### bitLenght versus toString (2024/11/25)
|
|
8
|
+
|
|
9
|
+
|Framework|bitLength(x) |x.toString(2).length|
|
|
10
|
+
|---------|------------------|--------------------|
|
|
11
|
+
|Bun |1.781681 |2.079615 |
|
|
12
|
+
|Deno 1 |0.710344 |1.917003 |
|
|
13
|
+
|Deno 2 |0.986602 |2.286932 |
|
|
14
|
+
|Node 16 |1.521150 |2.330505 |
|
|
15
|
+
|Node 18 |1.393006 |2.312573 |
|
|
16
|
+
|Node 20 |1.055315 |2.320039 |
|
|
17
|
+
|Node 22 |0.983075 |2.336697 |
|
|
18
|
+
|Node 23 |0.699960 |1.872965 |
|
|
19
|
+
|
|
20
|
+
`bitLength` wins.
|
|
21
|
+
|
|
22
|
+
### Minus versus Not
|
|
23
23
|
|
|
24
24
|
|Framework|minus `-` |not `~` |
|
|
25
25
|
|---------|------------------|------------------|
|