]> zoso.dev Git - libnemo.git/commit
Speed up initial PoW calculation by caching the canvas and context when worker is...
authorChris Duncan <chris@zoso.dev>
Thu, 12 Dec 2024 06:14:39 +0000 (22:14 -0800)
committerChris Duncan <chris@zoso.dev>
Thu, 12 Dec 2024 06:14:39 +0000 (22:14 -0800)
commitdbb9203c5553201142a64c0de3e1f885c417766a
tree567b99fcacded9d02bb1abf64ac42a77aa82b591
parent0f7246df39e879035176ad86048d83456c78b7f7
Speed up initial PoW calculation by caching the canvas and context when worker is loaded. Add a bunch of logging for testing. Reverse pixel checking loop to work backwards from the end which is faster.
src/lib/workers/pow.ts