Skip to content

Conversation

@Kuldotha
Copy link

| :Ready: | :Refactor: | :yes: | :--: |

Problem

A lot of garbage was being created while trying to find PDAs.

Solution

Merge Create and Find so the Sha256 instance can be reused. This alone reduces garbage created by 75%. Also removed memory stream and push the byte arrays directly into the Sha256 instance.

@notdanilo
Copy link

Nice one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants