Skip to content

🧼 Memory-Sanitization | Inlining Critical Math Invariants to Flatten Contract Call Stacks #438

Description

@Sadeequ

Description

Spawning extensive internal sub-routines to execute simple mathematical transformations increases stack depth and scales up gas requirements.

Technical Requirements

  • Apply Rust's native #[inline] attribute tags to low-overhead math calculation utilities inside src/math.rs.

  • Flatten compiled call steps to reduce host computing operations across high-frequency execution tracks.

If you find this implementation useful, please star the project and leave a review! 😊

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions