arturo-lang/arturo

[Stack/push] performance enhancements?

Opened this issue · 0 comments

[Stack/push] performance enhancements?
this was a template that we converted into a proc so that
we could get the whole project to compile with Nim 2.0.8
does it make any sense performance-wise?
push given value onto the stack

# TODO(Stack/push) performance enhancements?

# Main stack

proc push*(v: Value) = 
    # TODO(Stack/push) performance enhancements?
    #  this was a `template` that we converted into a `proc` so that
    #  we could get the whole project to compile with Nim 2.0.8
    #  does it make any sense performance-wise?
    #  labels: vm, stack, enhancement, performance, benchmark
    ## push given value onto the stack
    hookProcProfiler("stack/push"):
        Stack[SP] = v
imilarity index 100%
ename from tests/unittests/lib.comparison.res
ename to tests/unittests/lib.comparison_res
ndex 2f0a138e5f..e15f4f8ae2 100644
++ b/version/build

a78e7aeb856ddb2ac8048945b94a166faeb901d9