Skip to content

Use s-forms for op's like len, to mitigate stack copies, using consts #4

@phunanon

Description

@phunanon

Currently very innocuous op's like len, nth, type, not have their arguments duplicated to the stack before selecting only a small amount of data from them. A new special form for certain op's could ensure parameters and variable bindings are instead served as constants where appropriate. Even sect could benefit from this, with major rewriting.

Metadata

Metadata

Assignees

Labels

ChVMConcerns the Chika Virtual Machine implementationcompilerConcerns Chika's compilersperformanceImprove the ChVM's performance

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions