-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
infrnecessary facilities to runtime restrain-jitnecessary facilities to runtime restrain-jit
Description
We can provide a module exporting native versions of foreach, map, tailrec, etc.
At current stage the performance of some control flow constructs is bad:
-
for loop: due to the loop convention of Python bytecode instructions, some of the stack emulations seem cannot get eliminated by Julia. We have to introduce an actual stack in: https://github.com/thautwarm/RestrainJIT.jl/blob/master/src/codegen.jl#L410
-
try catch: due to the exception handling convention of Python, we have to introduce an emulated exception stack for this: https://github.com/thautwarm/RestrainJIT.jl/blob/master/src/codegen.jl#L439
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
infrnecessary facilities to runtime restrain-jitnecessary facilities to runtime restrain-jit