basedpl 0.1.78 → 0.1.80
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/basedpl_wasm.js +17 -0
- package/basedpl_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/basedpl_wasm.js
CHANGED
|
@@ -57,6 +57,15 @@ export class Session {
|
|
|
57
57
|
}
|
|
58
58
|
if (Symbol.dispose) Session.prototype[Symbol.dispose] = Session.prototype.free;
|
|
59
59
|
|
|
60
|
+
/**
|
|
61
|
+
* Whether the speed test fails on a case still over its wasm budget, as `rustymath::timing::checks_budgets` decides from the CPU that `name_cpu` named.
|
|
62
|
+
* @returns {boolean}
|
|
63
|
+
*/
|
|
64
|
+
export function checks_budgets() {
|
|
65
|
+
const ret = wasm.checks_budgets();
|
|
66
|
+
return ret !== 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
60
69
|
/**
|
|
61
70
|
* Sets the URL that relative paths resolve against, and the function that receives a panic's message.
|
|
62
71
|
* @param {string} base
|
|
@@ -638,6 +647,10 @@ function __wbg_get_imports() {
|
|
|
638
647
|
const ret = arg0.response;
|
|
639
648
|
return ret;
|
|
640
649
|
}, arguments); },
|
|
650
|
+
__wbg_search_9cf5002ecfca6094: function(arg0, arg1) {
|
|
651
|
+
const ret = arg0.search(arg1);
|
|
652
|
+
return ret;
|
|
653
|
+
},
|
|
641
654
|
__wbg_send_3b3b20df5e2e7616: function() { return handleError(function (arg0, arg1, arg2) {
|
|
642
655
|
arg0.send(arg1 === 0 ? undefined : getArrayU8FromWasm0(arg1, arg2));
|
|
643
656
|
}, arguments); },
|
|
@@ -684,6 +697,10 @@ function __wbg_get_imports() {
|
|
|
684
697
|
const ret = JSON.stringify(arg0);
|
|
685
698
|
return ret;
|
|
686
699
|
}, arguments); },
|
|
700
|
+
__wbg_substring_7a68fc10027938a4: function(arg0, arg1, arg2) {
|
|
701
|
+
const ret = arg0.substring(arg1 >>> 0, arg2 >>> 0);
|
|
702
|
+
return ret;
|
|
703
|
+
},
|
|
687
704
|
__wbg_value_f3c585ee8f5ba40c: function(arg0) {
|
|
688
705
|
const ret = arg0.value;
|
|
689
706
|
return ret;
|
package/basedpl_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basedpl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.80",
|
|
4
4
|
"description": "BasedPL, the Based-array Programming Language, is an APL-derived array language, borrowing ideas from J and BQN, with an emphasis on simple, consistent notation.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|