SIMD-0449: Direct Account Pointers in Program Input#449
SIMD-0449: Direct Account Pointers in Program Input#449febo wants to merge 4 commits intosolana-foundation:mainfrom
Conversation
|
Hello febo! Welcome to the SIMD process. By opening this PR you are affirming that your SIMD has been thoroughly discussed and vetted in the SIMD discussion section. The SIMD PR section should only be used to submit a final technical specification for review. If your design / idea still needs discussion, please close this PR and create a new discussion here. This PR requires the following approvals before it can be merged:
Once all requirements are met, you can merge this PR by commenting |
096c582 to
360779c
Compare
aca98ab to
a97c9a4
Compare
buffalojoec
left a comment
There was a problem hiding this comment.
Nice work @febo! This looks like a slick way to improve ABI v1 entrypoint efficiency without breaking the ABI's backwards compatibility.
I left a few comments about beefing up the spec, but this seems reasonable to me.
This comment was marked as resolved.
This comment was marked as resolved.
As per SIMD-0321, a pointer to instruction data will be available in r2. |
This comment was marked as resolved.
This comment was marked as resolved.
This SIMD is intentionally simple, so it is easier to test/audit. ABIv2 (SIMD-0177) is a more extensive rework of the program input and it will include individual pointers to all parts of the input. Agree that would be nice to have a direct pointer to the program ID, but the gains in CU will be very small ( |
|
Thanks, topointon-jump! |
Serialize pointers for instruction accounts to allow direct account access
without requiring parsing of the account section.