Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

omit nextstate COPs #18

Open
rurban opened this issue Sep 11, 2015 · 0 comments
Open

omit nextstate COPs #18

rurban opened this issue Sep 11, 2015 · 0 comments
Assignees

Comments

@rurban
Copy link
Member

rurban commented Sep 11, 2015

nextstate resets the stack at every ; which is a waste and adds enormous run-time costs.
Track the stack depth for each op result if statically possible, add the oplines field to each op, thus get rid of most nextstate COPs.

nextstate is one of the most costly ops (see dtrace Porting/op.d), and is called every single line.

stack tracking+oplines. see the jit #220

@rurban rurban self-assigned this Sep 11, 2015
@rurban rurban mentioned this issue Jan 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant