[runtime performance]
-╔═══════════════╦═════════════╦═════════════╦═════════════╗
-║ ║ BigInteger ║ BigInt ║ int[] ║
-╠═══════════════╬══════╤══════╬══════╤══════╬══════╤══════╣
-║ add(int,int) ║ +0 │ +0 ║ +119 │ +116 ║ +113 │ +112 ║
-║ add(int) ║ +0 │ +0 ║ +194 │ +188 ║ +360 │ +366 ║
-║ add(int,long) ║ +0 │ +0 ║ +207 │ +200 ║ +145 │ +134 ║
-║ add(long) ║ +0 │ +0 ║ +92 │ +82 ║ +227 │ +233 ║
-║ add(T) ║ +0 │ +0 ║ +10 │ +10 ║ +87 │ +88 ║
-║ sub(int,int) ║ +0 │ +0 ║ +112 │ +110 ║ +173 │ +171 ║
-║ sub(int) ║ +0 │ +0 ║ +152 │ +151 ║ +392 │ +392 ║
-║ sub(int,long) ║ +0 │ +0 ║ +245 │ +261 ║ +289 │ +281 ║
-║ sub(long) ║ +0 │ +0 ║ +182 │ +185 ║ +203 │ +203 ║
-║ sub(T) ║ +0 │ +0 ║ +7 │ +9 ║ +55 │ +55 ║
-╚═══════════════╩══════╧══════╩══════╧══════╩══════╧══════╝
-[heap allocation]
-╔═══════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ BigInteger ║ BigInt ║ int[] ║
-║ ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠═══════════════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ add(int,int) ║ +0 │ +0 ║ +300 │ +83 ║ +144 │ +83 ║
-║ add(int) ║ +0 │ +0 ║ +300 │ +83 ║ +144 │ +83 ║
-║ add(int,long) ║ +0 │ +0 ║ +400 │ +194 ║ +223 │ +194 ║
-║ add(long) ║ +0 │ +0 ║ +300 │ +94 ║ +158 │ +94 ║
-║ add(T) ║ +0 │ +0 ║ +150 │ +0 ║ +66 │ +0 ║
-║ sub(int,int) ║ +0 │ +0 ║ +300 │ +83 ║ +144 │ +83 ║
-║ sub(int) ║ +0 │ +0 ║ +300 │ +83 ║ +144 │ +83 ║
-║ sub(int,long) ║ +0 │ +0 ║ +400 │ +194 ║ +223 │ +194 ║
-║ sub(long) ║ +0 │ +0 ║ +300 │ +94 ║ +158 │ +94 ║
-║ sub(T) ║ +0 │ +0 ║ +150 │ +0 ║ +66 │ +0 ║
-╚═══════════════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
+╔═══════════════╦═════════════╦════════════════╦═══════════════╗
+║ ║ BigInteger ║ BigInt ║ int[] ║
+╠═══════════════╬══════╤══════╬═══════╤════════╬═══════╤═══════╣
+║ add(int,int) ║ +0 │ +0 ║ -1106 │ -1124 ║ +6140 │ +4142 ║
+║ add(int) ║ +0 │ +0 ║ -783 │ -721 ║ -1005 │ -956 ║
+║ add(int,long) ║ +0 │ +0 ║ +1240 │ +1297 ║ +940 │ +959 ║
+║ add(long) ║ +0 │ +0 ║ +5880 │ -14500 ║ +1259 │ +1700 ║
+║ add(T) ║ +0 │ +0 ║ -156 │ -155 ║ -163 │ -161 ║
+║ sub(int,int) ║ +0 │ +0 ║ -1031 │ -1016 ║ +2880 │ +1928 ║
+║ sub(int) ║ +0 │ +0 ║ -638 │ -633 ║ -1035 │ -968 ║
+║ sub(int,long) ║ +0 │ +0 ║ +1053 │ +1576 ║ +861 │ +944 ║
+║ sub(long) ║ +0 │ +0 ║ +5920 │ -3662 ║ +1268 │ +3462 ║
+║ sub(T) ║ +0 │ +0 ║ -149 │ -150 ║ -156 │ -156 ║
+╚═══════════════╩══════╧══════╩═══════╧════════╩═══════╧═══════╝
add(int,int)
Addition of unsigned int
.
The BigInteger
class does not have a constructor for unsigned int
. Therefore, for this test, the creation of a BigInteger
from an unsigned int
is accomplished with the BigIntegers.valueOf(int)
utility method.
Addition of unsigned int
.
The BigInteger
class does not have a constructor for unsigned int
. Therefore, for this test, the creation of a BigInteger
from an unsigned int
is accomplished with the BigIntegers.valueOf(int)
utility method.
[runtime performance]
add(int,int)
- 2640441 in 6639ms
-╔═════════╦═══════════╦═════════════════╦═════════════╦═════════════╦═════════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬═════╤═════╬════════╤════════╬══════╤══════╬══════╤══════╬══════╤══════╣
-║ 36 │ 35 ║ -20 │ -10 ║ 455921 │ 375921 ║ 55 │ 56 ║ 26 │ 22 ║ 26 │ 23 ║
-║ 35 │ 34 ║ -16 │ -8 ║ 263900 │ 259900 ║ 56 │ 52 ║ 24 │ 25 ║ 26 │ 26 ║
-║ 35 │ 34 ║ -12 │ -6 ║ 119921 │ 267921 ║ 58 │ 52 ║ 24 │ 28 ║ 28 │ 28 ║
-║ 34 │ 34 ║ -8 │ -4 ║ 239921 │ 275984 ║ 53 │ 55 ║ 27 │ 29 ║ 27 │ 30 ║
-║ 34 │ 34 ║ -4 │ -2 ║ 240047 │ 140005 ║ 51 │ 58 ║ 24 │ 32 ║ 21 │ 33 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 120005 │ 139984 ║ 49 │ 53 ║ 24 │ 25 ║ 20 │ 26 ║
-║ 34 │ 34 ║ 4 │ 2 ║ 239984 │ 275984 ║ 54 │ 56 ║ 26 │ 24 ║ 24 │ 25 ║
-║ 34 │ 34 ║ 8 │ 4 ║ 239921 │ 267921 ║ 56 │ 53 ║ 26 │ 24 ║ 29 │ 24 ║
-║ 35 │ 34 ║ 12 │ 6 ║ 127900 │ 259900 ║ 50 │ 53 ║ 23 │ 23 ║ 27 │ 23 ║
-║ 35 │ 34 ║ 16 │ 8 ║ 279900 │ 251900 ║ 57 │ 57 ║ 23 │ 23 ║ 27 │ 23 ║
-║ 36 │ 35 ║ 20 │ 10 ║ 311921 │ 123921 ║ 58 │ 58 ║ 25 │ 23 ║ 25 │ 23 ║
-║ │ ║ │ ║ │ sum: ║ 597 │ 603 ║ 272 │ 278 ║ 280 │ 284 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +119 │ +116 ║ +113 │ +112 ║
-╚════╧════╩═════╧═════╩════════╧════════╩══════╧══════╩══════╧══════╩══════╧══════╝
+ 2640441 in 4086ms
+╔═════════╦═══════════╦═════════════════╦═════════════╦═══════════════╦═══════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬═════╤═════╬════════╤════════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╣
+║ 36 │ 35 ║ -20 │ -10 ║ 455921 │ 375921 ║ 22 │ 28 ║ -6 │ -5 ║ -1 │ -1 ║
+║ 35 │ 34 ║ -16 │ -8 ║ 263900 │ 259900 ║ 24 │ 28 ║ -6 │ -2 ║ -3 │ 1 ║
+║ 35 │ 34 ║ -12 │ -6 ║ 119921 │ 267921 ║ 29 │ 28 ║ -6 │ ║ -1 │ 4 ║
+║ 34 │ 34 ║ -8 │ -4 ║ 239921 │ 275984 ║ 31 │ 27 ║ 4 │ 2 ║ 6 │ 5 ║
+║ 34 │ 34 ║ -4 │ -2 ║ 240047 │ 140005 ║ 30 │ 27 ║ -1 │ 4 ║ │ 7 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 120005 │ 139984 ║ 33 │ 18 ║ -1 │ -4 ║ -1 │ -2 ║
+║ 34 │ 34 ║ 4 │ 2 ║ 239984 │ 275984 ║ 33 │ 28 ║ 2 │ -4 ║ 3 │ -1 ║
+║ 34 │ 34 ║ 8 │ 4 ║ 239921 │ 267921 ║ 33 │ 28 ║ │ -5 ║ 3 │ -1 ║
+║ 35 │ 34 ║ 12 │ 6 ║ 127900 │ 259900 ║ 26 │ 28 ║ -6 │ -5 ║ -1 │ -2 ║
+║ 35 │ 34 ║ 16 │ 8 ║ 279900 │ 251900 ║ 27 │ 29 ║ -5 │ -5 ║ │ -1 ║
+║ 36 │ 35 ║ 20 │ 10 ║ 311921 │ 123921 ║ 24 │ 28 ║ -6 │ -5 ║ │ -2 ║
+║ │ ║ │ ║ │ sum: ║ 312 │ 297 ║ -31 │ -29 ║ 5 │ 7 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ -1106 │ -1124 ║ +6140 │ +4142 ║
+╚════╧════╩═════╧═════╩════════╧════════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╝
-⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⣉⢉⣉⠉⠉⠉⡉⠉⢉⠉⠉⠉⠉⠉⠉⠉⢹
-⡏⠙⠛⠫⠭⢍⣉⡉⠉⠉⠉⠉⠑⠒⠒⠤⠤⠤⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠔⣒⡩⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠵⠶⠦⢤⣤⡤⠤⠤⠤⠒⠒⠒⠉⠉⠉⠉⠉⠉⠉⠉⠉⠁⠀⣁⣀⡩⠭⠝⠚⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
-⡇⠀⠀⠀⠀⠀⠀⠈⠉⠑⠒⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠚⠛⠛⠛⠛⠛⠛⠭⠭⠭⠭⠭⠭⠭⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡏⠉⠉⠙⠛⠛⠛⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⢍⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⣉⣉⠭⠝⠛⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠢⣀⠀⠀⠀⠀⠀⠀⠀⣀⣀⠤⠤⠤⠒⠒⠒⣉⡩⠭⠭⠭⠭⠭⣉⣉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠒⠒⠒⠤⠤⠤⣀⣀⠀⠀⠀⠉⠉⠒⠒⠊⠉⠉⠀⣀⣀⡠⠤⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠑⠒⠒⠒⠤⠤⠤⠤⠔⠒⠒⠊⠉⠉⠉⠉⠉⠉⠒⠒⠒⠤⠤⠤⠤⠔⠒⠒⠒⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠑⠒⠒⠒⠒⠒⠊⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
@@ -89,35 +74,12 @@ add(int,int)
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⣇⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠉⠉⠉⠉⠒⠒⠒⠢⠤⠤⠤⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡠⠤⠒⠊⠁⠀⠀⠀⠈⠑⠢⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤⠤⠒⠒⠢⠤⠤⢄⣀⣀⣀⣀⣀⣀⣀⠤⠤⠤⠒⠒⠒⠒⠒⠒⠒⠒⢺
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⢀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡠⠤⠤⠒⠒⠒⠒⠒⠤⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⡠⠤⠤⠒⠒⠒⠒⠒⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡗⠒⠒⠉⠉⠉⠁⠀⠀⠀⠉⠉⠉⠒⠒⠒⠒⠒⠒⠒⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠒⠒⠒⠒⠒⠒⠒⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠢⢄⣀⣀⠀⢀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⠉⠉⠉⠉⠉⠁⠉⠉⠉⠉⠉⠉⠉⢹
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-add(int,int)
- 8361 in 1500ms
-╔═════════╦═══════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬═════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 36 │ 35 ║ -20 │ -10 ║ 1193 │ 1147 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -16 │ -8 ║ 788 │ 776 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -12 │ -6 ║ 421 │ 823 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 34 │ 34 ║ -8 │ -4 ║ 821 │ 916 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ -4 │ -2 ║ 947 │ 529 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 505 │ 508 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 4 │ 2 ║ 884 │ 916 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 8 │ 4 ║ 821 │ 823 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ 12 │ 6 ║ 392 │ 776 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ 16 │ 8 ║ 788 │ 754 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 36 │ 35 ║ 20 │ 10 ║ 801 │ 393 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ │ ║ │ ║ │ sum: ║ 44 │ 33 ║ 11 │ 18 ║ 18 │ 18 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +300 │ +83 ║ +144 │ +83 ║
-╚════╧════╩═════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
add(int)
add(int)
[runtime performance]
add(int)
- 2640441 in 5788ms
-╔═════════╦═══════════╦═════════════════╦═════════════╦═════════════╦═════════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬═════╤═════╬════════╤════════╬══════╤══════╬══════╤══════╬══════╤══════╣
-║ 36 │ 35 ║ -20 │ -10 ║ 455921 │ 375921 ║ 64 │ 67 ║ 23 │ 22 ║ 14 │ 14 ║
-║ 35 │ 34 ║ -16 │ -8 ║ 263900 │ 259900 ║ 64 │ 67 ║ 23 │ 23 ║ 14 │ 14 ║
-║ 35 │ 34 ║ -12 │ -6 ║ 119921 │ 267921 ║ 62 │ 67 ║ 23 │ 23 ║ 14 │ 14 ║
-║ 34 │ 34 ║ -8 │ -4 ║ 239921 │ 275984 ║ 66 │ 66 ║ 23 │ 24 ║ 14 │ 15 ║
-║ 34 │ 34 ║ -4 │ -2 ║ 240047 │ 140005 ║ 61 │ 58 ║ 20 │ 22 ║ 14 │ 15 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 120005 │ 139984 ║ 58 │ 57 ║ 21 │ 21 ║ 13 │ 13 ║
-║ 34 │ 34 ║ 4 │ 2 ║ 239984 │ 275984 ║ 65 │ 64 ║ 21 │ 21 ║ 14 │ 13 ║
-║ 34 │ 34 ║ 8 │ 4 ║ 239921 │ 267921 ║ 67 │ 64 ║ 22 │ 21 ║ 14 │ 13 ║
-║ 35 │ 34 ║ 12 │ 6 ║ 127900 │ 259900 ║ 64 │ 64 ║ 20 │ 21 ║ 14 │ 13 ║
-║ 35 │ 34 ║ 16 │ 8 ║ 279900 │ 251900 ║ 68 │ 64 ║ 20 │ 22 ║ 14 │ 13 ║
-║ 36 │ 35 ║ 20 │ 10 ║ 311921 │ 123921 ║ 65 │ 66 ║ 23 │ 24 ║ 14 │ 14 ║
-║ │ ║ │ ║ │ sum: ║ 704 │ 704 ║ 239 │ 244 ║ 153 │ 151 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +194 │ +188 ║ +360 │ +366 ║
-╚════╧════╩═════╧═════╩════════╧════════╩══════╧══════╩══════╧══════╩══════╧══════╝
+ 2640441 in 3586ms
+╔═════════╦═══════════╦═════════════════╦═════════════╦═════════════╦══════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬═════╤═════╬════════╤════════╬══════╤══════╬══════╤══════╬═══════╤══════╣
+║ 36 │ 35 ║ -20 │ -10 ║ 455921 │ 375921 ║ 25 │ 32 ║ -6 │ -5 ║ -3 │ -3 ║
+║ 35 │ 34 ║ -16 │ -8 ║ 263900 │ 259900 ║ 29 │ 31 ║ -5 │ -5 ║ -4 │ -3 ║
+║ 35 │ 34 ║ -12 │ -6 ║ 119921 │ 267921 ║ 28 │ 31 ║ -6 │ -4 ║ -3 │ -3 ║
+║ 34 │ 34 ║ -8 │ -4 ║ 239921 │ 275984 ║ 36 │ 30 ║ -4 │ -5 ║ -4 │ -4 ║
+║ 34 │ 34 ║ -4 │ -2 ║ 240047 │ 140005 ║ 34 │ 17 ║ -4 │ -5 ║ -4 │ -4 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 120005 │ 139984 ║ 33 │ 18 ║ -4 │ -5 ║ -4 │ -4 ║
+║ 34 │ 34 ║ 4 │ 2 ║ 239984 │ 275984 ║ 36 │ 31 ║ -4 │ -4 ║ -3 │ -4 ║
+║ 34 │ 34 ║ 8 │ 4 ║ 239921 │ 267921 ║ 34 │ 32 ║ -4 │ -4 ║ -4 │ -3 ║
+║ 35 │ 34 ║ 12 │ 6 ║ 127900 │ 259900 ║ 29 │ 31 ║ -4 │ -4 ║ -3 │ -3 ║
+║ 35 │ 34 ║ 16 │ 8 ║ 279900 │ 251900 ║ 27 │ 32 ║ -4 │ -5 ║ -3 │ -3 ║
+║ 36 │ 35 ║ 20 │ 10 ║ 311921 │ 123921 ║ 24 │ 32 ║ -4 │ -5 ║ -2 │ -3 ║
+║ │ ║ │ ║ │ sum: ║ 335 │ 317 ║ -49 │ -51 ║ -37 │ -37 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ -783 │ -721 ║ -1005 │ -956 ║
+╚════╧════╩═════╧═════╩════════╧════════╩══════╧══════╩══════╧══════╩═══════╧══════╝
-⡟⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠋⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠛⠛⠛⠛⠛⠛⠛⠛⠛⢻
+⣏⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⡩⠽⠿⠿⠛⠛⠻⠿⠿⠿⠿⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠿⢟⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⣛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⢻
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢺
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠤⠤⠤⠤⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡏⠉⠉⠉⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠊⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠑⠒⠒⠒⠒⠒⠒⠒⠒⢺
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
@@ -162,104 +123,61 @@ add(int)
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠤⠔⠒⠒⠊⠉⠉⠉⠉⠉⠑⠒⠤⢄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡧⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠒⠒⠒⠒⠒⠒⠤⠤⠤⠤⠤⠤⠔⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠑⠒⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢼
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠤⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡏⠉⠉⠒⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢄⣀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⠢⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠒⠒⠊⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠑⠒⠤⠤⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠢⠤⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-add(int)
- 8361 in 194ms
-╔═════════╦═══════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬═════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 36 │ 35 ║ -20 │ -10 ║ 1193 │ 1147 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -16 │ -8 ║ 788 │ 776 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -12 │ -6 ║ 421 │ 823 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 34 │ 34 ║ -8 │ -4 ║ 821 │ 916 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ -4 │ -2 ║ 947 │ 529 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 505 │ 508 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 4 │ 2 ║ 884 │ 916 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 8 │ 4 ║ 821 │ 823 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ 12 │ 6 ║ 392 │ 776 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ 16 │ 8 ║ 788 │ 754 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 36 │ 35 ║ 20 │ 10 ║ 801 │ 393 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ │ ║ │ ║ │ sum: ║ 44 │ 33 ║ 11 │ 18 ║ 18 │ 18 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +300 │ +83 ║ +144 │ +83 ║
-╚════╧════╩═════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
add(int,long)
Addition of unsigned long
.
The BigInteger
class does not have a constructor for unsigned long
. Therefore, for this test, the creation of a BigInteger
from an unsigned long
is accomplished with the BigIntegers.valueOf(long)
utility method.
Addition of unsigned long
.
The BigInteger
class does not have a constructor for unsigned long
. Therefore, for this test, the creation of a BigInteger
from an unsigned long
is accomplished with the BigIntegers.valueOf(long)
utility method.
[runtime performance]
add(int,long)
- 611729 in 2222ms
-╔═════════╦═══════════╦═══════════════╦═════════════╦═════════════╦═════════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬═════╤═════╬═══════╤═══════╬══════╤══════╬══════╤══════╬══════╤══════╣
-║ 38 │ 36 ║ -38 │ -19 ║ 77923 │ 73523 ║ 92 │ 124 ║ 30 │ 31 ║ 40 │ 40 ║
-║ 37 │ 35 ║ -30 │ -15 ║ 82700 │ 45900 ║ 91 │ 124 ║ 30 │ 31 ║ 40 │ 39 ║
-║ 36 │ 35 ║ -22 │ -11 ║ 33946 │ 63146 ║ 88 │ 126 ║ 28 │ 34 ║ 38 │ 42 ║
-║ 35 │ 34 ║ -15 │ -7 ║ 59523 │ 49523 ║ 89 │ 124 ║ 32 │ 34 ║ 38 │ 41 ║
-║ 34 │ 34 ║ -7 │ -3 ║ 43592 │ 73284 ║ 92 │ 125 ║ 31 │ 37 ║ 32 │ 42 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 33776 │ 35284 ║ 94 │ 60 ║ 30 │ 26 ║ 31 │ 34 ║
-║ 34 │ 34 ║ 7 │ 3 ║ 42346 │ 71146 ║ 90 │ 54 ║ 29 │ 23 ║ 29 │ 32 ║
-║ 35 │ 34 ║ 15 │ 7 ║ 49900 │ 47500 ║ 86 │ 55 ║ 30 │ 24 ║ 35 │ 32 ║
-║ 36 │ 35 ║ 22 │ 11 ║ 45900 │ 63500 ║ 87 │ 56 ║ 27 │ 27 ║ 39 │ 35 ║
-║ 37 │ 35 ║ 30 │ 15 ║ 86300 │ 45500 ║ 91 │ 56 ║ 29 │ 26 ║ 42 │ 35 ║
-║ 38 │ 36 ║ 38 │ 19 ║ 54723 │ 42323 ║ 92 │ 56 ║ 27 │ 27 ║ 40 │ 37 ║
-║ │ ║ │ ║ │ sum: ║ 992 │ 960 ║ 323 │ 320 ║ 404 │ 409 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +207 │ +200 ║ +145 │ +134 ║
-╚════╧════╩═════╧═════╩═══════╧═══════╩══════╧══════╩══════╧══════╩══════╧══════╝
+ 542129 in 1173ms
+╔═════════╦═══════════╦═══════════════╦═════════════╦═══════════════╦═════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬═════╤═════╬═══════╤═══════╬══════╤══════╬═══════╤═══════╬══════╤══════╣
+║ 38 │ 36 ║ -38 │ -19 ║ 56323 │ 60323 ║ 40 │ 104 ║ -6 │ 9 ║ -3 │ 9 ║
+║ 37 │ 35 ║ -30 │ -15 ║ 62300 │ 41500 ║ 54 │ 102 ║ -6 │ 9 ║ -3 │ 9 ║
+║ 36 │ 35 ║ -22 │ -11 ║ 34746 │ 56346 ║ 60 │ 100 ║ │ 8 ║ 2 │ 9 ║
+║ 35 │ 34 ║ -15 │ -7 ║ 59123 │ 45923 ║ 83 │ 98 ║ 25 │ 6 ║ 21 │ 7 ║
+║ 34 │ 34 ║ -7 │ -3 ║ 41192 │ 66484 ║ 78 │ 99 ║ 24 │ 8 ║ 22 │ 9 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 41376 │ 35284 ║ 78 │ 20 ║ 15 │ -5 ║ 16 │ -2 ║
+║ 34 │ 34 ║ 7 │ 3 ║ 50746 │ 61146 ║ 81 │ 26 ║ 9 │ -6 ║ 10 │ -2 ║
+║ 35 │ 34 ║ 15 │ 7 ║ 49500 │ 45900 ║ 81 │ 27 ║ 9 │ -5 ║ 11 │ -2 ║
+║ 36 │ 35 ║ 22 │ 11 ║ 46300 │ 54300 ║ 54 │ 27 ║ -6 │ 4 ║ -3 │ 6 ║
+║ 37 │ 35 ║ 30 │ 15 ║ 65900 │ 40300 ║ 49 │ 27 ║ -6 │ 9 ║ -3 │ 9 ║
+║ 38 │ 36 ║ 38 │ 19 ║ 33523 │ 33523 ║ 39 │ 27 ║ -6 │ 10 ║ -3 │ 10 ║
+║ │ ║ │ ║ │ sum: ║ 697 │ 657 ║ 52 │ 47 ║ 67 │ 62 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +1240 │ +1297 ║ +940 │ +959 ║
+╚════╧════╩═════╧═════╩═══════╧═══════╩══════╧══════╩═══════╧═══════╩══════╧══════╝
-⣏⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⣉⣉⣉⡩⠭⠭⠭⠭⠭⠭⠭⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⢻
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⢉⣉⣉⣉⣉⣉⡩⠭⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠒⠒⠒⠒⠤⠤⠤⠤⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⣇⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠒⠒⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠒⠢⠤⢄⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⣯⣭⣭⣭⣭⣭⣭⣭⣭⣭⣭⣭⡭⠭⣉⣉⣉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⣉⣉⣉⣉⠭⠭⠭⠭⠭⠭⣉⣉⣉⣉⣉⣉⣉⡩⠭⠭⠭⣭⣛⣛⣛⠭⠭⠭⠭⠭⠭⣉⣉⣉⣉⣉⣉⣉⡉⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠙⠓⠢⠤⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣤⡲⠮⠭⠭⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠉⠉⠉⠉⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠒⠒⠒⠒⠒⠒⠚⠛⠛⠛⠛⠛⠛⠛⢻
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠋⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡠⠤⠤⠤⠤⠔⠒⠒⠒⠊⠉⠉⠉⠉⠉⠉⠉⠉⠉⠑⠒⠒⠒⠒⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⣀⣀⣀⣀⣀⣀⣀⣀⣸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡐⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠉⠉⠑⠒⠒⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⠤⠤⠔⠒⠒⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠤⠒⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠔⠒⠒⠤⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠔⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠌⠀⠀⠀⠀⠀⠀⠈⠉⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⣇⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡐⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠈⠉⠉⠒⠒⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⢄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠌⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-add(int,long)
- 9589 in 630ms
-╔═════════╦═══════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬═════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 38 │ 36 ║ -38 │ -19 ║ 743 │ 1091 ║ 5 │ 4 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 37 │ 35 ║ -30 │ -15 ║ 912 │ 700 ║ 5 │ 4 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 36 │ 35 ║ -22 │ -11 ║ 916 │ 994 ║ 5 │ 5 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -15 │ -7 ║ 983 │ 763 ║ 5 │ 5 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ -7 │ -3 ║ 970 │ 1258 ║ 5 │ 5 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 946 │ 746 ║ 5 │ 4 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 7 │ 3 ║ 932 │ 1050 ║ 5 │ 5 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 35 │ 34 ║ 15 │ 7 ║ 952 │ 728 ║ 5 │ 5 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 36 │ 35 ║ 22 │ 11 ║ 772 │ 932 ║ 5 │ 5 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 37 │ 35 ║ 30 │ 15 ║ 1008 │ 676 ║ 5 │ 4 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 38 │ 36 ║ 38 │ 19 ║ 455 │ 651 ║ 5 │ 4 ║ 1 │ 2 ║ 2 │ 2 ║
-║ │ ║ │ ║ │ sum: ║ 55 │ 50 ║ 11 │ 17 ║ 17 │ 17 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +400 │ +194 ║ +223 │ +194 ║
-╚════╧════╩═════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
add(long)
add(long)
[runtime performance]
add(long)
- 621329 in 1945ms
-╔═════════╦═══════════╦═══════════════╦═════════════╦═══════════╦═════════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬═════╤═════╬═══════╤═══════╬══════╤══════╬═════╤═════╬══════╤══════╣
-║ 38 │ 36 ║ -38 │ -19 ║ 77523 │ 71923 ║ 54 │ 56 ║ 34 │ 31 ║ 15 │ 20 ║
-║ 37 │ 35 ║ -30 │ -15 ║ 76700 │ 45100 ║ 55 │ 55 ║ 38 │ 30 ║ 16 │ 20 ║
-║ 36 │ 35 ║ -22 │ -11 ║ 44746 │ 69146 ║ 54 │ 55 ║ 32 │ 32 ║ 17 │ 15 ║
-║ 35 │ 34 ║ -15 │ -7 ║ 61523 │ 52323 ║ 56 │ 53 ║ 23 │ 30 ║ 19 │ 13 ║
-║ 34 │ 34 ║ -7 │ -3 ║ 41992 │ 71684 ║ 56 │ 57 ║ 18 │ 33 ║ 17 │ 16 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 32176 │ 36484 ║ 54 │ 59 ║ 18 │ 30 ║ 17 │ 15 ║
-║ 34 │ 34 ║ 7 │ 3 ║ 43546 │ 69546 ║ 54 │ 52 ║ 18 │ 27 ║ 17 │ 13 ║
-║ 35 │ 34 ║ 15 │ 7 ║ 61500 │ 52700 ║ 56 │ 52 ║ 28 │ 29 ║ 20 │ 13 ║
-║ 36 │ 35 ║ 22 │ 11 ║ 47100 │ 65900 ║ 52 │ 55 ║ 32 │ 30 ║ 15 │ 18 ║
-║ 37 │ 35 ║ 30 │ 15 ║ 78300 │ 42300 ║ 56 │ 53 ║ 36 │ 29 ║ 16 │ 19 ║
-║ 38 │ 36 ║ 38 │ 19 ║ 55123 │ 43123 ║ 55 │ 56 ║ 36 │ 30 ║ 15 │ 19 ║
-║ │ ║ │ ║ │ sum: ║ 602 │ 603 ║ 313 │ 331 ║ 184 │ 181 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +92 │ +82 ║ +227 │ +233 ║
-╚════╧════╩═════╧═════╩═══════╧═══════╩══════╧══════╩═════╧═════╩══════╧══════╝
+ 624529 in 1173ms
+╔═════════╦═══════════╦═══════════════╦═════════════╦════════════════╦═══════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬═════╤═════╬═══════╤═══════╬══════╤══════╬═══════╤════════╬═══════╤═══════╣
+║ 38 │ 36 ║ -38 │ -19 ║ 77123 │ 75123 ║ 17 │ 30 ║ -7 │ 7 ║ -5 │ 8 ║
+║ 37 │ 35 ║ -30 │ -15 ║ 74700 │ 47100 ║ 24 │ 29 ║ -7 │ 5 ║ -4 │ 7 ║
+║ 36 │ 35 ║ -22 │ -11 ║ 34746 │ 65946 ║ 26 │ 30 ║ -3 │ -2 ║ -1 │ -1 ║
+║ 35 │ 34 ║ -15 │ -7 ║ 62723 │ 50723 ║ 37 │ 29 ║ 9 │ -5 ║ 8 │ -4 ║
+║ 34 │ 34 ║ -7 │ -3 ║ 44392 │ 72884 ║ 35 │ 24 ║ 8 │ -6 ║ 9 │ -4 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 54576 │ 37284 ║ 27 │ 19 ║ 9 │ -6 ║ 10 │ -4 ║
+║ 34 │ 34 ║ 7 │ 3 ║ 45546 │ 69146 ║ 37 │ 25 ║ 9 │ -6 ║ 8 │ -3 ║
+║ 35 │ 34 ║ 15 │ 7 ║ 50700 │ 50300 ║ 35 │ 26 ║ 8 │ -6 ║ 8 │ -3 ║
+║ 36 │ 35 ║ 22 │ 11 ║ 47100 │ 63100 ║ 22 │ 25 ║ -7 │ 3 ║ -4 │ 4 ║
+║ 37 │ 35 ║ 30 │ 15 ║ 77100 │ 47900 ║ 22 │ 26 ║ -7 │ 7 ║ -4 │ 8 ║
+║ 38 │ 36 ║ 38 │ 19 ║ 54723 │ 43923 ║ 17 │ 25 ║ -7 │ 7 ║ -3 │ 8 ║
+║ │ ║ │ ║ │ sum: ║ 299 │ 288 ║ 5 │ -2 ║ 22 │ 16 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +5880 │ -14500 ║ +1259 │ +1700 ║
+╚════╧════╩═════╧═════╩═══════╧═══════╩══════╧══════╩═══════╧════════╩═══════╧═══════╝
-⣏⣉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⡩⠭⠭⠭⠛⠛⠛⠛⠫⠭⠭⠭⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣹
-⡇⠀⠈⠉⠉⠉⠑⠒⠒⠒⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡧⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠒⢉⣉⠭⠥⠜⠛⠫⠶⠶⠤⢄⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⣀⣀⣀⣀⣀⣀⠤⠤⠤⠤⠤⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⢀⣀⣀⠤⠔⠒⠊⠉⠉⠉⠉⠉⠑⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢼
+⡏⠑⠒⠒⠒⠤⠤⠤⠤⠔⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠚⠛⠛⠛⠤⠤⠤⠤⠤⣀⣀⣀⣀⣀⡠⠤⠤⠤⠔⠒⠒⠒⠚⠛⠛⠛⠭⠭⠕⠒⠒⠒⠒⠉⠉⠉⠉⠉⠉⠒⠒⠒⠤⠤⠤⢄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠤⠒⠒⠒⠒⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⡠⠤⠤⠤⠤⠤⠤⠒⠒⠒⠒⠒⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⠤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠔⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠒⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠔⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠒⠤⢄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡗⠒⠤⠤⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡠⠔⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠑⠒⠒⠒⠒⠒⠒⠒⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢼
-⡇⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
@@ -304,33 +219,14 @@ add(long)
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡠⠤⠤⢄⣀⣀⡀⠀⠀⠀⠀⠀⢀⣀⣀⣀⡠⠤⠤⢄⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠑⠒⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠤⠤⠤⠤⠤⠤⠤⠤⢼
+⡗⠒⠤⢄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠒⠉⠉⠉⠑⠢⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠔⠒⠉⠑⠒⠒⠤⠤⠤⠤⠤⠤⠒⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠈⠉⠒⠒⠤⠤⠤⠤⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠤⠊⠁⠀⠀⠀⠀⠀⠀⠀⠈⠢⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠔⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠑⠒⠤⢄⣀⣀⠀⠀⣀⣀⡠⠤⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⠒⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-add(long)
- 10205 in 282ms
-╔═════════╦═══════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬═════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 38 │ 36 ║ -38 │ -19 ║ 863 │ 1211 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 37 │ 35 ║ -30 │ -15 ║ 1000 │ 720 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 36 │ 35 ║ -22 │ -11 ║ 900 │ 1046 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -15 │ -7 ║ 1195 │ 835 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ -7 │ -3 ║ 874 │ 1302 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 954 │ 750 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 7 │ 3 ║ 824 │ 1134 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 35 │ 34 ║ 15 │ 7 ║ 1160 │ 784 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 36 │ 35 ║ 22 │ 11 ║ 764 │ 980 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 37 │ 35 ║ 30 │ 15 ║ 1000 │ 716 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 38 │ 36 ║ 38 │ 19 ║ 671 │ 727 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ │ ║ │ ║ │ sum: ║ 44 │ 33 ║ 11 │ 17 ║ 17 │ 17 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +300 │ +94 ║ +158 │ +94 ║
-╚════╧════╩═════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
add(T)
add(T)
[runtime performance]
add(T)
- 31025 in 384ms
-╔═════════╦════════════╦═════════════╦═════════════╦═══════════╦═══════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬══════╤═════╬══════╤══════╬══════╤══════╬═════╤═════╬═════╤═════╣
-║ 47 │ 40 ║ -128 │ -64 ║ 2559 │ 2607 ║ 70 │ 63 ║ 56 │ 60 ║ 36 │ 36 ║
-║ 44 │ 39 ║ -102 │ -51 ║ 3081 │ 2681 ║ 62 │ 66 ║ 57 │ 56 ║ 30 │ 39 ║
-║ 41 │ 38 ║ -76 │ -38 ║ 2714 │ 2598 ║ 64 │ 67 ║ 56 │ 55 ║ 32 │ 33 ║
-║ 39 │ 36 ║ -51 │ -25 ║ 2854 │ 2878 ║ 57 │ 61 ║ 56 │ 55 ║ 30 │ 32 ║
-║ 36 │ 35 ║ -25 │ -12 ║ 2430 │ 3107 ║ 53 │ 67 ║ 58 │ 48 ║ 33 │ 34 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 2699 │ 2802 ║ 62 │ 68 ║ 65 │ 56 ║ 43 │ 31 ║
-║ 36 │ 35 ║ 25 │ 12 ║ 2816 │ 2968 ║ 56 │ 61 ║ 57 │ 54 ║ 34 │ 30 ║
-║ 39 │ 36 ║ 51 │ 25 ║ 2875 │ 2931 ║ 61 │ 63 ║ 58 │ 60 ║ 33 │ 33 ║
-║ 41 │ 38 ║ 76 │ 38 ║ 2505 │ 2481 ║ 71 │ 63 ║ 57 │ 59 ║ 36 │ 36 ║
-║ 44 │ 39 ║ 102 │ 51 ║ 3045 │ 2721 ║ 71 │ 62 ║ 56 │ 67 ║ 32 │ 34 ║
-║ 47 │ 40 ║ 128 │ 64 ║ 2347 │ 2151 ║ 74 │ 63 ║ 57 │ 65 ║ 35 │ 35 ║
-║ │ ║ │ ║ │ sum: ║ 701 │ 704 ║ 633 │ 635 ║ 374 │ 373 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +10 │ +10 ║ +87 │ +88 ║
-╚════╧════╩══════╧═════╩══════╧══════╩══════╧══════╩═════╧═════╩═════╧═════╝
+ 32233 in 245ms
+╔═════════╦════════════╦═════════════╦═════════════╦═════════════╦═════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬══════╤═════╬══════╤══════╬══════╤══════╬══════╤══════╬══════╤══════╣
+║ 47 │ 40 ║ -128 │ -64 ║ 2539 │ 2863 ║ 11 │ 5 ║ -11 │ -10 ║ -11 │ -8 ║
+║ 44 │ 39 ║ -102 │ -51 ║ 2609 │ 2813 ║ 8 │ 5 ║ -11 │ -10 ║ -10 │ -10 ║
+║ 41 │ 38 ║ -76 │ -38 ║ 3562 │ 2662 ║ 5 │ 5 ║ -12 │ -10 ║ -10 │ -9 ║
+║ 39 │ 36 ║ -51 │ -25 ║ 2826 │ 3006 ║ 3 │ 5 ║ -10 │ -13 ║ -10 │ -11 ║
+║ 36 │ 35 ║ -25 │ -12 ║ 2822 │ 3091 ║ 3 │ 7 ║ -10 │ -12 ║ -9 │ -11 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 2639 │ 2870 ║ 6 │ 9 ║ -8 │ -12 ║ -8 │ -11 ║
+║ 36 │ 35 ║ 25 │ 12 ║ 2764 │ 3008 ║ 3 │ 7 ║ -10 │ -12 ║ -9 │ -11 ║
+║ 39 │ 36 ║ 51 │ 25 ║ 2943 │ 3015 ║ 4 │ 7 ║ -12 │ -11 ║ -9 │ -9 ║
+║ 41 │ 38 ║ 76 │ 38 ║ 3281 │ 2593 ║ 6 │ 6 ║ -12 │ -11 ║ -10 │ -11 ║
+║ 44 │ 39 ║ 102 │ 51 ║ 2609 │ 2817 ║ 7 │ 5 ║ -13 │ -10 ║ -11 │ -10 ║
+║ 47 │ 40 ║ 128 │ 64 ║ 2539 │ 2395 ║ 12 │ 6 ║ -11 │ -10 ║ -10 │ -8 ║
+║ │ ║ │ ║ │ sum: ║ 68 │ 67 ║ -120 │ -121 ║ -107 │ -109 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ -156 │ -155 ║ -163 │ -161 ║
+╚════╧════╩══════╧═════╩══════╧══════╩══════╧══════╩══════╧══════╩══════╧══════╝
-⡏⠉⠉⠉⠉⠉⠉⠉⣉⣉⣉⡩⠭⠭⠭⠝⠛⠛⠛⠛⠛⠛⠛⠛⠛⠭⠭⠭⠭⠭⢍⣉⣉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⡩⠭⠝⠛⠫⠭⠭⠭⣉⣉⣉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⣉⣉⣉⣉⣉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
-⡗⠒⠒⠒⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠒⠢⠤⣀⣀⣀⣀⣀⠤⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠒⠒⠒⠒⠒⠒⠒⠒⠉⠉⠁⠀⠀⠀⠀⠀⠉⠉⠉⠒⠒⠒⠒⠒⠒⠒⠒⠒⢺
+⣏⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣹
+⡧⠤⠒⠊⠉⠁⠀⠀⠀⠈⠑⠢⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢼
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠒⠤⠤⠤⠤⠔⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠑⠒⠤⠤⠤⠤⠤⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
@@ -369,75 +267,48 @@ add(T)
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⣀⣀⣀⣀⠤⠤⠤⠤⠔⠒⠒⠒⠒⠒⠒⠤⢄⡀⠀⠀⠀⠀⠀⠀⢀⠤⠊⠁⠀⠀⠀⠈⠑⠤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡏⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠒⠒⠤⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠢⢄⡀⠀⠀⠀⣀⡠⠤⠒⠒⠒⠒⠤⣀⡀⠀⠀⠀⠀⠀⠀⠀⣀⠤⠒⠊⠉⠉⠒⠢⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠀⠀⠀⠀⣀⣀⣀⡀⠀⠈⠑⠒⠤⠤⠤⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠒⠒⠤⠤⠤⠤⠤⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢺
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠤⠒⠒⠉⠉⠉⠉⠉⠉⠉⠒⠢⢄⡀⠀⠀⠀⠀⠀⠀⢀⠤⠒⠉⠀⠀⠀⠈⠉⠒⠢⢄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⣀⣀⣀⡠⠤⠤⠤⠤⠤⠤⣀⣀⡀⠀⠀⠀⢀⣀⠤⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠒⠤⠤⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠑⠢⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠒⠒⠤⠤⠔⠒⠊⠉⠀⠀⠀⠀⠀⠀⠈⠉⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⢼
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠤⠒⠒⠒⠒⠤⠤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⢀⣀⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠑⠒⠢⠤⢄⣀⠀⠀⠀⠀⠀⢀⣀⠤⠤⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠤⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡏⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠢⢄⡀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-add(T)
- 16397 in 998ms
-╔═════════╦════════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬══════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 47 │ 40 ║ -128 │ -64 ║ 1461 │ 1435 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 44 │ 39 ║ -102 │ -51 ║ 1471 │ 1471 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 41 │ 38 ║ -76 │ -38 ║ 1518 │ 1400 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 39 │ 36 ║ -51 │ -25 ║ 1542 │ 1592 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 36 │ 35 ║ -25 │ -12 ║ 1362 │ 1667 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 1739 │ 1614 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 36 │ 35 ║ 25 │ 12 ║ 1438 │ 1580 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 39 │ 36 ║ 51 │ 25 ║ 1649 │ 1607 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 41 │ 38 ║ 76 │ 38 ║ 1395 │ 1375 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 44 │ 39 ║ 102 │ 51 ║ 1479 │ 1443 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 47 │ 40 ║ 128 │ 64 ║ 1343 │ 1213 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ │ ║ │ ║ │ sum: ║ 55 │ 33 ║ 22 │ 33 ║ 33 │ 33 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +150 │ +0 ║ +66 │ +0 ║
-╚════╧════╩══════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
sub(int,int)
Subtraction of unsigned int
.
The BigInteger
class does not have a constructor for unsigned int
. Therefore, for this test, the creation of a BigInteger
from an unsigned int
is accomplished with the BigIntegers.valueOf(int)
utility method.
Subtraction of unsigned int
.
The BigInteger
class does not have a constructor for unsigned int
. Therefore, for this test, the creation of a BigInteger
from an unsigned int
is accomplished with the BigIntegers.valueOf(int)
utility method.
[runtime performance]
sub(int,int)
- 2640441 in 6102ms
-╔═════════╦═══════════╦═════════════════╦═════════════╦═════════════╦═════════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬═════╤═════╬════════╤════════╬══════╤══════╬══════╤══════╬══════╤══════╣
-║ 36 │ 35 ║ -20 │ -10 ║ 455921 │ 375921 ║ 56 │ 56 ║ 25 │ 24 ║ 21 │ 19 ║
-║ 35 │ 34 ║ -16 │ -8 ║ 263900 │ 259900 ║ 56 │ 56 ║ 25 │ 28 ║ 22 │ 22 ║
-║ 35 │ 34 ║ -12 │ -6 ║ 119921 │ 267921 ║ 60 │ 57 ║ 25 │ 29 ║ 22 │ 23 ║
-║ 34 │ 34 ║ -8 │ -4 ║ 239921 │ 275984 ║ 60 │ 56 ║ 27 │ 31 ║ 22 │ 25 ║
-║ 34 │ 34 ║ -4 │ -2 ║ 240047 │ 140005 ║ 56 │ 56 ║ 26 │ 33 ║ 19 │ 25 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 120005 │ 139984 ║ 57 │ 56 ║ 26 │ 28 ║ 19 │ 20 ║
-║ 34 │ 34 ║ 4 │ 2 ║ 239984 │ 275984 ║ 57 │ 58 ║ 27 │ 26 ║ 20 │ 20 ║
-║ 34 │ 34 ║ 8 │ 4 ║ 239921 │ 267921 ║ 59 │ 58 ║ 30 │ 25 ║ 22 │ 20 ║
-║ 35 │ 34 ║ 12 │ 6 ║ 127900 │ 259900 ║ 57 │ 60 ║ 29 │ 25 ║ 21 │ 20 ║
-║ 35 │ 34 ║ 16 │ 8 ║ 279900 │ 251900 ║ 57 │ 58 ║ 30 │ 25 ║ 22 │ 19 ║
-║ 36 │ 35 ║ 20 │ 10 ║ 311921 │ 123921 ║ 57 │ 58 ║ 28 │ 25 ║ 21 │ 19 ║
-║ │ ║ │ ║ │ sum: ║ 632 │ 629 ║ 298 │ 299 ║ 231 │ 232 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +112 │ +110 ║ +173 │ +171 ║
-╚════╧════╩═════╧═════╩════════╧════════╩══════╧══════╩══════╧══════╩══════╧══════╝
+ 2640441 in 3699ms
+╔═════════╦═══════════╦═════════════════╦═════════════╦═══════════════╦═══════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬═════╤═════╬════════╤════════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╣
+║ 36 │ 35 ║ -20 │ -10 ║ 455921 │ 375921 ║ 22 │ 28 ║ -6 │ -5 ║ │ -1 ║
+║ 35 │ 34 ║ -16 │ -8 ║ 263900 │ 259900 ║ 25 │ 27 ║ -7 │ -2 ║ -2 │ 2 ║
+║ 35 │ 34 ║ -12 │ -6 ║ 119921 │ 267921 ║ 28 │ 27 ║ -6 │ ║ -1 │ 5 ║
+║ 34 │ 34 ║ -8 │ -4 ║ 239921 │ 275984 ║ 33 │ 26 ║ 4 │ 2 ║ 7 │ 7 ║
+║ 34 │ 34 ║ -4 │ -2 ║ 240047 │ 140005 ║ 35 │ 26 ║ │ 4 ║ 1 │ 8 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 120005 │ 139984 ║ 24 │ 18 ║ -1 │ -5 ║ │ -2 ║
+║ 34 │ 34 ║ 4 │ 2 ║ 239984 │ 275984 ║ 30 │ 26 ║ 2 │ -5 ║ 3 │ -1 ║
+║ 34 │ 34 ║ 8 │ 4 ║ 239921 │ 267921 ║ 28 │ 26 ║ │ -5 ║ 3 │ -1 ║
+║ 35 │ 34 ║ 12 │ 6 ║ 127900 │ 259900 ║ 26 │ 26 ║ -6 │ -5 ║ -1 │ -1 ║
+║ 35 │ 34 ║ 16 │ 8 ║ 279900 │ 251900 ║ 25 │ 27 ║ -6 │ -5 ║ │ -1 ║
+║ 36 │ 35 ║ 20 │ 10 ║ 311921 │ 123921 ║ 22 │ 27 ║ -6 │ -5 ║ │ -1 ║
+║ │ ║ │ ║ │ sum: ║ 298 │ 284 ║ -32 │ -31 ║ 10 │ 14 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ -1031 │ -1016 ║ +2880 │ +1928 ║
+╚════╧════╩═════╧═════╩════════╧════════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╝
-⡟⠭⠭⠭⢍⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⡩⠭⠛⠋⠉⠉⠉⠉⠉⠉⠉⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⢻
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡗⠒⠒⠤⠤⠤⠤⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠒⠒⠒⠢⠤⠤⠤⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⡠⠤⠤⠤⠒⠒⠒⠒⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠒⠒⠒⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠊⠉⠉⠉⠉⠉⠉⠉⢹
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠒⠊⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡯⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⢍⣉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⣉⣉⣉⠭⠭⠭⠭⠭⠭⠭⠭⠫⠭⠫⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⢽
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠒⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⠤⠔⠒⠉⠉⠉⠉⠉⠉⠒⠒⠒⠤⠤⠤⠒⠒⠒⠊⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⣇⣀⣀⡠⠤⠤⠤⠤⠤⠤⠤⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠒⠢⠤⠤⠤⠤⠤⠔⠒⠊⠉⠉⣀⡠⠤⠔⠒⠒⠉⠉⠉⠉⠒⠒⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠢⠤⠤⠤⠤⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠒⠢⠤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠔⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠒⠤⠤⣀⠤⠤⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
@@ -447,32 +318,13 @@ sub(int,int)
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠒⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠊⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠑⠒⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢼
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠔⠊⠉⠒⠢⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡧⠤⠤⠤⢄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠊⠀⠀⠀⠀⠀⠀⠀⠑⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⡀⠀⡀⠀⠀⣀⣀⣀⣀⡠⠤⠤⠒⠒⠒⠒⠒⠒⠒⠒⢺
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠒⠒⠒⠒⠤⠤⣀⣀⠀⠀⢀⣀⠔⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠒⠒⠤⠔⠒⠒⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠈⠉⠈⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-sub(int,int)
- 8361 in 195ms
-╔═════════╦═══════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬═════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 36 │ 35 ║ -20 │ -10 ║ 1193 │ 1147 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -16 │ -8 ║ 788 │ 776 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -12 │ -6 ║ 421 │ 823 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 34 │ 34 ║ -8 │ -4 ║ 821 │ 916 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ -4 │ -2 ║ 947 │ 529 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 505 │ 508 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 4 │ 2 ║ 884 │ 916 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 8 │ 4 ║ 821 │ 823 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ 12 │ 6 ║ 392 │ 776 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ 16 │ 8 ║ 788 │ 754 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 36 │ 35 ║ 20 │ 10 ║ 801 │ 393 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ │ ║ │ ║ │ sum: ║ 44 │ 33 ║ 11 │ 18 ║ 18 │ 18 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +300 │ +83 ║ +144 │ +83 ║
-╚════╧════╩═════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
sub(int)
sub(int)
[runtime performance]
sub(int)
- 2640441 in 6048ms
-╔═════════╦═══════════╦═════════════════╦═════════════╦═════════════╦═════════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬═════╤═════╬════════╤════════╬══════╤══════╬══════╤══════╬══════╤══════╣
-║ 36 │ 35 ║ -20 │ -10 ║ 455921 │ 375921 ║ 72 │ 72 ║ 27 │ 27 ║ 15 │ 15 ║
-║ 35 │ 34 ║ -16 │ -8 ║ 263900 │ 259900 ║ 72 │ 72 ║ 27 │ 27 ║ 14 │ 14 ║
-║ 35 │ 34 ║ -12 │ -6 ║ 119921 │ 267921 ║ 70 │ 72 ║ 27 │ 27 ║ 14 │ 14 ║
-║ 34 │ 34 ║ -8 │ -4 ║ 239921 │ 275984 ║ 69 │ 72 ║ 27 │ 28 ║ 14 │ 15 ║
-║ 34 │ 34 ║ -4 │ -2 ║ 240047 │ 140005 ║ 64 │ 64 ║ 26 │ 28 ║ 14 │ 15 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 120005 │ 139984 ║ 62 │ 62 ║ 27 │ 27 ║ 13 │ 13 ║
-║ 34 │ 34 ║ 4 │ 2 ║ 239984 │ 275984 ║ 67 │ 70 ║ 27 │ 28 ║ 14 │ 14 ║
-║ 34 │ 34 ║ 8 │ 4 ║ 239921 │ 267921 ║ 69 │ 70 ║ 29 │ 28 ║ 14 │ 13 ║
-║ 35 │ 34 ║ 12 │ 6 ║ 127900 │ 259900 ║ 72 │ 70 ║ 27 │ 28 ║ 14 │ 14 ║
-║ 35 │ 34 ║ 16 │ 8 ║ 279900 │ 251900 ║ 74 │ 70 ║ 29 │ 27 ║ 14 │ 13 ║
-║ 36 │ 35 ║ 20 │ 10 ║ 311921 │ 123921 ║ 73 │ 69 ║ 29 │ 28 ║ 15 │ 15 ║
-║ │ ║ │ ║ │ sum: ║ 764 │ 763 ║ 302 │ 303 ║ 155 │ 155 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +152 │ +151 ║ +392 │ +392 ║
-╚════╧════╩═════╧═════╩════════╧════════╩══════╧══════╩══════╧══════╩══════╧══════╝
+ 2640441 in 3571ms
+╔═════════╦═══════════╦═════════════════╦═════════════╦═════════════╦══════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬═════╤═════╬════════╤════════╬══════╤══════╬══════╤══════╬═══════╤══════╣
+║ 36 │ 35 ║ -20 │ -10 ║ 455921 │ 375921 ║ 23 │ 31 ║ -6 │ -6 ║ -2 │ -3 ║
+║ 35 │ 34 ║ -16 │ -8 ║ 263900 │ 259900 ║ 29 │ 30 ║ -6 │ -5 ║ -3 │ -3 ║
+║ 35 │ 34 ║ -12 │ -6 ║ 119921 │ 267921 ║ 28 │ 30 ║ -7 │ -5 ║ -3 │ -3 ║
+║ 34 │ 34 ║ -8 │ -4 ║ 239921 │ 275984 ║ 37 │ 29 ║ -5 │ -5 ║ -4 │ -3 ║
+║ 34 │ 34 ║ -4 │ -2 ║ 240047 │ 140005 ║ 33 │ 18 ║ -5 │ -5 ║ -4 │ -4 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 120005 │ 139984 ║ 27 │ 18 ║ -4 │ -5 ║ -4 │ -4 ║
+║ 34 │ 34 ║ 4 │ 2 ║ 239984 │ 275984 ║ 33 │ 29 ║ -5 │ -5 ║ -3 │ -3 ║
+║ 34 │ 34 ║ 8 │ 4 ║ 239921 │ 267921 ║ 31 │ 30 ║ -5 │ -5 ║ -4 │ -3 ║
+║ 35 │ 34 ║ 12 │ 6 ║ 127900 │ 259900 ║ 27 │ 29 ║ -5 │ -5 ║ -3 │ -3 ║
+║ 35 │ 34 ║ 16 │ 8 ║ 279900 │ 251900 ║ 27 │ 30 ║ -5 │ -5 ║ -2 │ -3 ║
+║ 36 │ 35 ║ 20 │ 10 ║ 311921 │ 123921 ║ 23 │ 30 ║ -6 │ -6 ║ -2 │ -3 ║
+║ │ ║ │ ║ │ sum: ║ 318 │ 304 ║ -59 │ -57 ║ -34 │ -35 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ -638 │ -633 ║ -1035 │ -968 ║
+╚════╧════╩═════╧═════╩════════╧════════╩══════╧══════╩══════╧══════╩═══════╧══════╝
-⡟⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠋⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠛⠛⠛⠛⠋⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠙⠛⠛⠛⠛⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠙⠛⠛⠛⠛⠛⠛⠛⠛⢻
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡏⠉⠉⠉⠛⠛⠛⠛⠛⠛⠛⠛⠋⠉⠉⠉⠉⠉⠉⠉⠉⠙⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⢛⣛⣛⣭⠭⠭⠭⠭⠭⠭⠭⠭⣝⡛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠋⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⣇⣀⠤⠤⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠑⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠢⠤⠤⠤⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⣇⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠒⠒⠒⠒⠒⠒⠢⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠔⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢺
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
@@ -517,104 +367,62 @@ sub(int)
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⠤⠤⠒⠒⠊⠉⠉⠉⠉⠉⠉⠉⠉⠑⠒⠤⠤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡧⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠒⠒⠒⠒⠒⠒⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢼
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤⠔⠒⠒⠉⠑⠒⠢⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡧⠤⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⠤⠤⠤⠤⠤⠤⠤⠤⠤⢼
+⡇⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠒⠢⠤⣀⡀⠀⠀⠀⣀⠤⠒⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠒⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-sub(int)
- 8361 in 186ms
-╔═════════╦═══════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬═════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 36 │ 35 ║ -20 │ -10 ║ 1193 │ 1147 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -16 │ -8 ║ 788 │ 776 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -12 │ -6 ║ 421 │ 823 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 34 │ 34 ║ -8 │ -4 ║ 821 │ 916 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ -4 │ -2 ║ 947 │ 529 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 505 │ 508 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 4 │ 2 ║ 884 │ 916 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 8 │ 4 ║ 821 │ 823 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ 12 │ 6 ║ 392 │ 776 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ 16 │ 8 ║ 788 │ 754 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 36 │ 35 ║ 20 │ 10 ║ 801 │ 393 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ │ ║ │ ║ │ sum: ║ 44 │ 33 ║ 11 │ 18 ║ 18 │ 18 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +300 │ +83 ║ +144 │ +83 ║
-╚════╧════╩═════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
sub(int,long)
Subtraction of unsigned long
.
The BigInteger
class does not have a constructor for unsigned long
. Therefore, for this test, the creation of a BigInteger
from an unsigned long
is accomplished with the BigIntegers.valueOf(long)
utility method.
Subtraction of unsigned long
.
The BigInteger
class does not have a constructor for unsigned long
. Therefore, for this test, the creation of a BigInteger
from an unsigned long
is accomplished with the BigIntegers.valueOf(long)
utility method.
[runtime performance]
sub(int,long)
- 617329 in 2221ms
-╔═════════╦═══════════╦═══════════════╦═════════════╦═════════════╦═════════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬═════╤═════╬═══════╤═══════╬══════╤══════╬══════╤══════╬══════╤══════╣
-║ 38 │ 36 ║ -38 │ -19 ║ 78323 │ 74323 ║ 104 │ 141 ║ 27 │ 27 ║ 25 │ 27 ║
-║ 37 │ 35 ║ -30 │ -15 ║ 74700 │ 45900 ║ 103 │ 145 ║ 27 │ 28 ║ 27 │ 27 ║
-║ 36 │ 35 ║ -22 │ -11 ║ 43546 │ 65146 ║ 104 │ 142 ║ 27 │ 30 ║ 28 │ 30 ║
-║ 35 │ 34 ║ -15 │ -7 ║ 60323 │ 51523 ║ 104 │ 141 ║ 26 │ 30 ║ 29 │ 29 ║
-║ 34 │ 34 ║ -7 │ -3 ║ 43592 │ 71284 ║ 109 │ 146 ║ 26 │ 33 ║ 24 │ 32 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 32976 │ 36884 ║ 112 │ 70 ║ 56 │ 30 ║ 29 │ 26 ║
-║ 34 │ 34 ║ 7 │ 3 ║ 43546 │ 69546 ║ 105 │ 63 ║ 34 │ 24 ║ 30 │ 22 ║
-║ 35 │ 34 ║ 15 │ 7 ║ 59900 │ 49900 ║ 101 │ 64 ║ 32 │ 24 ║ 30 │ 22 ║
-║ 36 │ 35 ║ 22 │ 11 ║ 45900 │ 63500 ║ 103 │ 67 ║ 26 │ 27 ║ 26 │ 25 ║
-║ 37 │ 35 ║ 30 │ 15 ║ 78300 │ 43100 ║ 103 │ 66 ║ 26 │ 27 ║ 24 │ 25 ║
-║ 38 │ 36 ║ 38 │ 19 ║ 55123 │ 45123 ║ 106 │ 66 ║ 27 │ 27 ║ 24 │ 26 ║
-║ │ ║ │ ║ │ sum: ║ 1154 │ 1111 ║ 334 │ 307 ║ 296 │ 291 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +245 │ +261 ║ +289 │ +281 ║
-╚════╧════╩═════╧═════╩═══════╧═══════╩══════╧══════╩══════╧══════╩══════╧══════╝
+ 570129 in 1193ms
+╔═════════╦═══════════╦═══════════════╦═════════════╦═══════════════╦═════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬═════╤═════╬═══════╤═══════╬══════╤══════╬═══════╤═══════╬══════╤══════╣
+║ 38 │ 36 ║ -38 │ -19 ║ 65523 │ 67923 ║ 41 │ 101 ║ -6 │ 8 ║ -3 │ 9 ║
+║ 37 │ 35 ║ -30 │ -15 ║ 63500 │ 43100 ║ 51 │ 100 ║ -6 │ 8 ║ -4 │ 9 ║
+║ 36 │ 35 ║ -22 │ -11 ║ 44346 │ 60746 ║ 65 │ 98 ║ │ 7 ║ 2 │ 9 ║
+║ 35 │ 34 ║ -15 │ -7 ║ 48723 │ 47123 ║ 80 │ 96 ║ 9 │ 6 ║ 10 │ 8 ║
+║ 34 │ 34 ║ -7 │ -3 ║ 44392 │ 65684 ║ 80 │ 97 ║ 9 │ 6 ║ 11 │ 9 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 54576 │ 32884 ║ 79 │ 19 ║ 23 │ -5 ║ 20 │ -2 ║
+║ 34 │ 34 ║ 7 │ 3 ║ 33546 │ 64746 ║ 76 │ 24 ║ 24 │ -6 ║ 22 │ -3 ║
+║ 35 │ 34 ║ 15 │ 7 ║ 58700 │ 46300 ║ 79 │ 24 ║ 25 │ -6 ║ 22 │ -2 ║
+║ 36 │ 35 ║ 22 │ 11 ║ 36300 │ 59100 ║ 52 │ 26 ║ -6 │ 4 ║ -3 │ 6 ║
+║ 37 │ 35 ║ 30 │ 15 ║ 66700 │ 40300 ║ 49 │ 26 ║ -6 │ 8 ║ -3 │ 9 ║
+║ 38 │ 36 ║ 38 │ 19 ║ 52723 │ 41123 ║ 40 │ 26 ║ -6 │ 8 ║ -2 │ 9 ║
+║ │ ║ │ ║ │ sum: ║ 692 │ 637 ║ 60 │ 38 ║ 72 │ 61 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +1053 │ +1576 ║ +861 │ +944 ║
+╚════╧════╩═════╧═════╩═══════╧═══════╩══════╧══════╩═══════╧═══════╩══════╧══════╝
-⡟⠛⠛⠛⠛⠛⠛⠛⠛⠿⠿⠿⠿⠿⠿⠿⠿⠯⠭⠭⣭⣭⣭⣭⣭⣭⣭⠭⠭⠭⠭⠭⠽⠿⡛⠛⠭⠭⠭⠭⠭⠭⠭⠭⠝⠛⠛⠛⠛⢛⣛⣛⠿⠿⣛⣛⣛⣛⣛⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠭⠭⠭⠭⠭⠭⠽⠿⠿⠿⣛⣛⣛⣛⣛⣛⣛⣛⣻
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⢄⠀⠀⠀⠀⠀⡠⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⠤⠤⠔⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡯⣭⣭⣭⣭⣭⣭⣭⣭⣭⣭⣭⣭⡭⠭⠭⣉⣉⣉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⣉⠭⢝⣛⣛⣛⠭⠭⠭⠭⢍⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣹
+⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠒⠚⠛⠭⠵⠶⠶⢖⣒⣒⣒⣒⣒⣒⣒⣒⣒⡢⠤⢄⣀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣠⡴⠮⠓⠊⠉⠁⠀⠀⠀⠉⠉⠉⠉⠑⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢺
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⠤⠤⠤⠤⠤⠤⠤⠤⠤⢄⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠔⠒⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠒⠒⠤⠤⠤⠤⠒⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⡠⠤⠤⠔⠒⠒⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠤⠒⠊⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠤⠤⢄⣀⣀⣀⣀⣀⣀⣀⣀⣀⠀⠀⠀⢀⣀⡠⠔⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠌⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⣇⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠈⠉⠉⠉⠉⠒⠒⠒⠒⠤⠤⠤⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠑⠒⠢⠤⢄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡠⠔⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-sub(int,long)
- 9525 in 272ms
-╔═════════╦═══════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬═════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 38 │ 36 ║ -38 │ -19 ║ 551 │ 1059 ║ 5 │ 4 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 37 │ 35 ║ -30 │ -15 ║ 972 │ 688 ║ 5 │ 4 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 36 │ 35 ║ -22 │ -11 ║ 832 │ 1014 ║ 5 │ 5 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -15 │ -7 ║ 1095 │ 767 ║ 5 │ 5 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ -7 │ -3 ║ 954 │ 1246 ║ 5 │ 5 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 1118 │ 722 ║ 5 │ 4 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 7 │ 3 ║ 904 │ 1070 ║ 5 │ 5 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 35 │ 34 ║ 15 │ 7 ║ 1096 │ 728 ║ 5 │ 5 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 36 │ 35 ║ 22 │ 11 ║ 760 │ 956 ║ 5 │ 5 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 37 │ 35 ║ 30 │ 15 ║ 980 │ 676 ║ 5 │ 4 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 38 │ 36 ║ 38 │ 19 ║ 263 │ 599 ║ 5 │ 4 ║ 1 │ 2 ║ 2 │ 2 ║
-║ │ ║ │ ║ │ sum: ║ 55 │ 50 ║ 11 │ 17 ║ 17 │ 17 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +400 │ +194 ║ +223 │ +194 ║
-╚════╧════╩═════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
sub(long)
sub(long)
[runtime performance]
sub(long)
- 582929 in 1813ms
-╔═════════╦═══════════╦═══════════════╦═════════════╦═════════════╦═════════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬═════╤═════╬═══════╤═══════╬══════╤══════╬══════╤══════╬══════╤══════╣
-║ 38 │ 36 ║ -38 │ -19 ║ 56723 │ 64323 ║ 59 │ 55 ║ 20 │ 22 ║ 18 │ 22 ║
-║ 37 │ 35 ║ -30 │ -15 ║ 61900 │ 45500 ║ 59 │ 55 ║ 21 │ 23 ║ 18 │ 23 ║
-║ 36 │ 35 ║ -22 │ -11 ║ 45146 │ 62746 ║ 53 │ 56 ║ 19 │ 19 ║ 18 │ 17 ║
-║ 35 │ 34 ║ -15 │ -7 ║ 59523 │ 49923 ║ 52 │ 54 ║ 20 │ 15 ║ 19 │ 14 ║
-║ 34 │ 34 ║ -7 │ -3 ║ 49992 │ 68484 ║ 52 │ 57 ║ 19 │ 18 ║ 18 │ 16 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 52576 │ 34484 ║ 50 │ 60 ║ 18 │ 20 ║ 18 │ 17 ║
-║ 34 │ 34 ║ 7 │ 3 ║ 49546 │ 68346 ║ 54 │ 65 ║ 18 │ 16 ║ 18 │ 15 ║
-║ 35 │ 34 ║ 15 │ 7 ║ 60700 │ 45900 ║ 55 │ 55 ║ 20 │ 17 ║ 21 │ 16 ║
-║ 36 │ 35 ║ 22 │ 11 ║ 36700 │ 62700 ║ 55 │ 56 ║ 19 │ 22 ║ 16 │ 20 ║
-║ 37 │ 35 ║ 30 │ 15 ║ 74700 │ 43100 ║ 61 │ 53 ║ 23 │ 23 ║ 19 │ 22 ║
-║ 38 │ 36 ║ 38 │ 19 ║ 34323 │ 36323 ║ 57 │ 53 ║ 18 │ 22 ║ 17 │ 22 ║
-║ │ ║ │ ║ │ sum: ║ 607 │ 619 ║ 215 │ 217 ║ 200 │ 204 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +182 │ +185 ║ +203 │ +203 ║
-╚════╧════╩═════╧═════╩═══════╧═══════╩══════╧══════╩══════╧══════╩══════╧══════╝
+ 617329 in 1205ms
+╔═════════╦═══════════╦═══════════════╦═════════════╦═══════════════╦═══════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬═════╤═════╬═══════╤═══════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╣
+║ 38 │ 36 ║ -38 │ -19 ║ 87523 │ 73523 ║ 19 │ 30 ║ -7 │ 6 ║ -4 │ 7 ║
+║ 37 │ 35 ║ -30 │ -15 ║ 63900 │ 47900 ║ 23 │ 29 ║ -7 │ 5 ║ -4 │ 6 ║
+║ 36 │ 35 ║ -22 │ -11 ║ 45146 │ 64346 ║ 25 │ 29 ║ -4 │ -2 ║ -1 │ -1 ║
+║ 35 │ 34 ║ -15 │ -7 ║ 61123 │ 49123 ║ 36 │ 28 ║ 9 │ -6 ║ 8 │ -4 ║
+║ 34 │ 34 ║ -7 │ -3 ║ 31592 │ 73284 ║ 36 │ 24 ║ 8 │ -6 ║ 8 │ -4 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 45376 │ 37284 ║ 26 │ 19 ║ 9 │ -6 ║ 9 │ -4 ║
+║ 34 │ 34 ║ 7 │ 3 ║ 41946 │ 69946 ║ 35 │ 25 ║ 8 │ -6 ║ 8 │ -3 ║
+║ 35 │ 34 ║ 15 │ 7 ║ 50700 │ 48700 ║ 36 │ 25 ║ 10 │ -6 ║ 8 │ -4 ║
+║ 36 │ 35 ║ 22 │ 11 ║ 56700 │ 62300 ║ 24 │ 25 ║ -7 │ 2 ║ -3 │ 3 ║
+║ 37 │ 35 ║ 30 │ 15 ║ 68300 │ 45500 ║ 23 │ 26 ║ -7 │ 5 ║ -4 │ 6 ║
+║ 38 │ 36 ║ 38 │ 19 ║ 63923 │ 44323 ║ 18 │ 25 ║ -7 │ 6 ║ -3 │ 6 ║
+║ │ ║ │ ║ │ sum: ║ 301 │ 285 ║ 5 │ -8 ║ 22 │ 8 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +5920 │ -3662 ║ +1268 │ +3462 ║
+╚════╧════╩═════╧═════╩═══════╧═══════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╝
-⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⣉⣉⣉⣉⠭⠭⠭⠭⣛⣛⣛⣛⣛⣫⣭⡭⠭⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⠭⠭⠭⢝⣛⣛⣛⣛⣛⣭⣭⣭⣍⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
-⡯⠭⣉⣉⣉⣉⡉⠉⠉⠉⠉⣉⣉⣁⣀⠤⠤⠤⠒⠒⠉⠉⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠑⠒⠒⠒⠤⠤⠤⠤⠤⠔⠒⠊⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠑⠒⠢⠤⢄⣀⡀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⣉⣉⠭⠭⠭⠭⠭⠭⠭⠭⢽
-⡇⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠑⠒⠒⠒⠒⠒⠒⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡏⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
+⡧⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠒⠉⠉⠉⠁⢈⠉⠉⠒⠒⠤⢄⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⣀⣀⣀⣀⣀⣀⣀⡠⠤⢄⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠤⠒⠉⠉⠉⠉⠉⠉⠒⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢼
+⡏⠑⠒⠒⠒⠢⠤⠤⠤⠤⠒⠒⠒⠉⠉⠉⠁⠉⠉⠉⠉⠑⠒⠒⠒⠒⠒⠒⠢⠬⠭⠭⠭⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠚⠭⠝⠵⠶⠶⠦⠤⠔⠒⠚⠓⠒⠊⠉⠉⠉⠉⠉⠑⠒⠒⠤⠤⠤⠤⠤⠤⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢺
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
@@ -658,34 +464,14 @@ sub(long)
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⠤⠤⠤⠤⠤⠤⠤⠤⠤⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-⡗⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠒⠢⠤⢄⣀⣀⣀⠤⠤⠒⠊⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠒⠒⠒⠒⠒⠒⠊⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣸
+⣇⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠔⠉⠁⠀⠉⠢⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡠⠤⠤⠒⠊⠉⠁⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠈⠉⠉⠒⠒⠒⠢⠤⠤⠤⢄⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠊⠀⠀⠀⠀⠀⠀⠀⠀⠑⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠑⠒⠤⠤⣀⣀⠀⠀⠀⠀⢀⣀⣀⡠⠤⠒⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠒⠒⠤⠤⠔⠤⠤⠤⠤⠔⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-sub(long)
- 8845 in 285ms
-╔═════════╦═══════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬═════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 38 │ 36 ║ -38 │ -19 ║ 643 │ 967 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 37 │ 35 ║ -30 │ -15 ║ 888 │ 628 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 36 │ 35 ║ -22 │ -11 ║ 796 │ 930 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 35 │ 34 ║ -15 │ -7 ║ 975 │ 731 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ -7 │ -3 ║ 762 │ 1178 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 1022 │ 698 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 34 │ 34 ║ 7 │ 3 ║ 820 │ 986 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 35 │ 34 ║ 15 │ 7 ║ 936 │ 708 ║ 4 │ 3 ║ 1 │ 1 ║ 1 │ 1 ║
-║ 36 │ 35 ║ 22 │ 11 ║ 760 │ 852 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 37 │ 35 ║ 30 │ 15 ║ 880 │ 604 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ 38 │ 36 ║ 38 │ 19 ║ 363 │ 563 ║ 4 │ 3 ║ 1 │ 2 ║ 2 │ 2 ║
-║ │ ║ │ ║ │ sum: ║ 44 │ 33 ║ 11 │ 17 ║ 17 │ 17 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +300 │ +94 ║ +158 │ +94 ║
-╚════╧════╩═════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-
sub(T)
sub(T)
[runtime performance]
sub(T)
- 31161 in 321ms
-╔═════════╦════════════╦═════════════╦═════════════╦═══════════╦═══════════╗
-║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
-╠════╤════╬══════╤═════╬══════╤══════╬══════╤══════╬═════╤═════╬═════╤═════╣
-║ 47 │ 40 ║ -128 │ -64 ║ 2615 │ 2747 ║ 60 │ 59 ║ 48 │ 52 ║ 33 │ 39 ║
-║ 44 │ 39 ║ -102 │ -51 ║ 2801 │ 2685 ║ 56 │ 54 ║ 46 │ 49 ║ 32 │ 36 ║
-║ 41 │ 38 ║ -76 │ -38 ║ 3262 │ 2546 ║ 57 │ 54 ║ 50 │ 46 ║ 36 │ 34 ║
-║ 39 │ 36 ║ -51 │ -25 ║ 2918 │ 2914 ║ 52 │ 53 ║ 51 │ 46 ║ 35 │ 35 ║
-║ 36 │ 35 ║ -25 │ -12 ║ 2414 │ 3019 ║ 51 │ 55 ║ 52 │ 46 ║ 38 │ 35 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 2283 │ 2838 ║ 61 │ 62 ║ 65 │ 52 ║ 42 │ 35 ║
-║ 36 │ 35 ║ 25 │ 12 ║ 2436 │ 2940 ║ 50 │ 58 ║ 54 │ 50 ║ 40 │ 37 ║
-║ 39 │ 36 ║ 51 │ 25 ║ 2843 │ 2859 ║ 56 │ 57 ║ 60 │ 52 ║ 37 │ 35 ║
-║ 41 │ 38 ║ 76 │ 38 ║ 3305 │ 2545 ║ 55 │ 54 ║ 51 │ 52 ║ 35 │ 34 ║
-║ 44 │ 39 ║ 102 │ 51 ║ 2569 │ 2697 ║ 57 │ 54 ║ 45 │ 54 ║ 34 │ 35 ║
-║ 47 │ 40 ║ 128 │ 64 ║ 2615 │ 2271 ║ 61 │ 54 ║ 49 │ 63 ║ 35 │ 39 ║
-║ │ ║ │ ║ │ sum: ║ 616 │ 614 ║ 571 │ 562 ║ 397 │ 394 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +7 │ +9 ║ +55 │ +55 ║
-╚════╧════╩══════╧═════╩══════╧══════╩══════╧══════╩═════╧═════╩═════╧═════╝
+ 34513 in 214ms
+╔═════════╦════════════╦═════════════╦═════════════╦═════════════╦═════════════╗
+║ length ║ precision ║ count ║ BigInteger ║ BigInt ║ int[] ║
+╠════╤════╬══════╤═════╬══════╤══════╬══════╤══════╬══════╤══════╬══════╤══════╣
+║ 47 │ 40 ║ -128 │ -64 ║ 3179 │ 3067 ║ 11 │ 5 ║ -12 │ -11 ║ -10 │ -10 ║
+║ 44 │ 39 ║ -102 │ -51 ║ 3097 │ 2997 ║ 6 │ 5 ║ -12 │ -13 ║ -12 │ -9 ║
+║ 41 │ 38 ║ -76 │ -38 ║ 3366 │ 2798 ║ 5 │ 5 ║ -12 │ -12 ║ -11 │ -9 ║
+║ 39 │ 36 ║ -51 │ -25 ║ 2894 │ 3190 ║ 3 │ 5 ║ -12 │ -12 ║ -11 │ -11 ║
+║ 36 │ 35 ║ -25 │ -12 ║ 2682 │ 3415 ║ 3 │ 6 ║ -11 │ -12 ║ -10 │ -11 ║
+║ 34 │ 34 ║ 0 │ 0 ║ 3203 │ 3190 ║ 6 │ 8 ║ -10 │ -10 ║ -8 │ -11 ║
+║ 36 │ 35 ║ 25 │ 12 ║ 2456 │ 3260 ║ 3 │ 6 ║ -11 │ -12 ║ -9 │ -12 ║
+║ 39 │ 36 ║ 51 │ 25 ║ 3099 │ 3183 ║ 4 │ 7 ║ -11 │ -11 ║ -10 │ -10 ║
+║ 41 │ 38 ║ 76 │ 38 ║ 3381 │ 2793 ║ 5 │ 5 ║ -12 │ -13 ║ -10 │ -11 ║
+║ 44 │ 39 ║ 102 │ 51 ║ 3069 │ 3001 ║ 6 │ 5 ║ -13 │ -11 ║ -11 │ -10 ║
+║ 47 │ 40 ║ 128 │ 64 ║ 2987 │ 2519 ║ 11 │ 7 ║ -12 │ -11 ║ -10 │ -9 ║
+║ │ ║ │ ║ │ sum: ║ 63 │ 64 ║ -128 │ -128 ║ -112 │ -113 ║
+║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ -149 │ -150 ║ -156 │ -156 ║
+╚════╧════╩══════╧═════╩══════╧══════╩══════╧══════╩══════╧══════╩══════╧══════╝
-⡏⠉⠉⢉⣉⣉⠭⠭⠭⠭⢍⣉⣉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⣉⣉⣉⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⠭⢍⣉⡉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢹
-⡏⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠑⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠢⠤⠤⠤⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⠤⠤⠒⠒⠊⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠒⠤⢄⣀⣀⣀⣀⣀⣀⣀⣸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⣏⠭⠭⠛⠛⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⢉⣉⣉⠉⠙⠛⠭⢍⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⣉⡩⠭⠛⠛⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠙⠛⠫⠭⢍⣉⣉⣉⣉⣉⣉⣉⣹
+⡧⠤⠤⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⠤⠤⠒⠊⠉⠁⠀⠀⠉⠉⠒⠢⠤⢄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠒⠒⠒⠒⠒⠒⠒⠒⠒⢺
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⢀⣀⠤⠤⠒⠒⠒⠒⠒⠒⠤⠤⢄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡏⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠒⠒⠤⠤⢄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤⠤⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠢⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠤⠒⠁⠀⠀⠀⠀⠈⠑⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⢄⠀⠀⠀⠀⠀⠀⠀⠀⡠⠔⠒⠑⠒⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠔⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠢⡀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡠⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⣀⠀⠀⠀⠑⢄⠀⠀⠀⢀⠤⠊⠀⠀⣀⠤⠤⢄⣈⡢⡀⠀⠀⠀⠀⠀⠀⣀⠔⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠢⠤⠤⠤⠤⠤⠤⠤⢼
-⡇⠀⠀⠀⠀⢀⣀⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠔⠒⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⢄⡀⠀⠀⠉⠒⠉⠁⠀⢀⠔⠉⠀⠀⠀⠀⠀⠈⠙⠓⠤⠤⠤⠶⠮⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢺
-⣇⣀⠤⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠢⣀⠀⠀⢀⡠⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
-⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⠀⠀⠀⢀⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠑⠒⠤⢄⣀⠀⠀⠀⠀⢀⣀⠤⠔⠒⠊⠉⠉⠉⠉⠉⠉⠑⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
+⡇⣀⠔⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠢⢄⡀⠀⠀⠀⠀⠀⠀⠀⢸
+⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⢹
+⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⣇⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣸
-[heap allocation]
-sub(T)
- 16945 in 941ms
-╔═════════╦════════════╦═════════════╦═══════════════╦═══════════════╦═══════════════╗
-║ ║ ║ ║ BigInteger ║ BigInt ║ int[] ║
-║ length ║ precision ║ count ║ T │ int[] ║ T │ int[] ║ T │ int[] ║
-╠════╤════╬══════╤═════╬══════╤══════╬═══════╤═══════╬═══════╤═══════╬═══════╤═══════╣
-║ 47 │ 40 ║ -128 │ -64 ║ 1431 │ 1619 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 44 │ 39 ║ -102 │ -51 ║ 1771 │ 1457 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 41 │ 38 ║ -76 │ -38 ║ 1744 │ 1404 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 39 │ 36 ║ -51 │ -25 ║ 1366 │ 1642 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 36 │ 35 ║ -25 │ -12 ║ 1318 │ 1685 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 34 │ 34 ║ 0 │ 0 ║ 1951 │ 1678 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 36 │ 35 ║ 25 │ 12 ║ 1136 │ 1606 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 39 │ 36 ║ 51 │ 25 ║ 1433 │ 1655 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 41 │ 38 ║ 76 │ 38 ║ 1705 │ 1343 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 44 │ 39 ║ 102 │ 51 ║ 1785 │ 1491 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ 47 │ 40 ║ 128 │ 64 ║ 1305 │ 1365 ║ 5 │ 3 ║ 2 │ 3 ║ 3 │ 3 ║
-║ │ ║ │ ║ │ sum: ║ 55 │ 33 ║ 22 │ 33 ║ 33 │ 33 ║
-║ │ ║ │ ║ │ +%: ║ +0 │ +0 ║ +150 │ +0 ║ +66 │ +0 ║
-╚════╧════╩══════╧═════╩══════╧══════╩═══════╧═══════╩═══════╧═══════╩═══════╧═══════╝
-