- Import and stream the wasm module using the async function
- Run giantMult using the module you built.
;// Trivially small matrices just to show usageconst a = 1 2 1 2 1 2 1 2 1 2;const b = 1 2 3 4 5 1 2 3 4 5;const samples = 3;;
Functionality is not currently defined when the dimensions of a and b are not valid, the function will throw descriptive errors in future versions
- Parcel does not support assemblyscript, please use webpack if you wish to use this package.
- Due to js memory limitations the biggest matrices supported right now are 1000x1000. WIth some improvements to way this package manages memory the cap will increase in the future.
- Algorithm: Hopcroft's book, section 7.2.1