mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-16 05:15:23 +00:00
This changes the script template parsing function to use a pointer into the constant global opcode array for parsed opcodes as opposed to making a copy of the opcode entries which causes unnecessary allocations. Profiling showed that after roughly 48 hours of operation, this copy was the culprit of 207 million unnecessary allocations.
14 KiB
14 KiB