silmeth 🇺🇦 on Nostr: npub129gva…e4kwg I do `input.trim().split(',')` and then `hash` function for the ...
npub129gvast08lj986yftn7q5qlnj8yfqufxx0m33s9u5xssjm8c64rsve4kwg (npub129g…4kwg) I do `input.trim().split(',')` and then `hash` function for the substrings in part 1 – not sure where’s the bottleneck here (maybe just all the function calls? would need to do some profiling).
For part 2 I do the same (`trim().split(',')`) and then parse into a custom `Instruction` enum which also has some error checking, so my guess is this takes a bit longer (edit: and then there’s interpreting the instructions one by one).
For part 2 I do the same (`trim().split(',')`) and then parse into a custom `Instruction` enum which also has some error checking, so my guess is this takes a bit longer (edit: and then there’s interpreting the instructions one by one).