]> git.ardis.lu - 4-byte-gen/commitdiff
Use BigInt counter for more numbers
authorArdis Lu <ardisglu@gmail.com>
Sun, 19 Mar 2023 07:14:53 +0000 (00:14 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 19 Mar 2023 07:14:53 +0000 (00:14 -0700)
index.html

index 7fb231642c25355eb9c2df76c435d4c95527b0f9..2ba8ea7748439811b10c7436f9942cd67fccea98 100644 (file)
@@ -93,7 +93,7 @@
     }
 
     function calculateOptimizedName(name, parametersTypes, minimum) {
-      let counter = 0;
+      let counter = 0n;
       let functionName = `${name}_${counter}(${parametersTypes})`;
       let hash = validate(functionName, minimum);
       while (!hash) {
This page took 0.036209 seconds and 4 git commands to generate.