Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

token-zig: Avoid so many pubkey comparisons #16

Merged
merged 1 commit into from
Nov 15, 2024
Merged

token-zig: Avoid so many pubkey comparisons #16

merged 1 commit into from
Nov 15, 2024

Conversation

joncinque
Copy link
Owner

Problem

Pubkey comparisons are expensive operations on-chain, but they aren't always required.

Summary of changes

Update the Zig Token program to avoid pubkey comparisons, which gives much better performance. Also, update the performance numbers.

#### Problem

Pubkey comparisons are expensive operations on-chain, but they aren't
always required.

#### Summary of changes

Update the Zig Token program to avoid pubkey comparisons, which gives
much better performance. Also, update the performance numbers.
@joncinque joncinque enabled auto-merge (squash) November 15, 2024 17:24
@joncinque joncinque merged commit 02e1d77 into main Nov 15, 2024
15 checks passed
@joncinque joncinque deleted the ztokenopt branch November 15, 2024 17:30
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.

1 participant