Bystroushaak / tinySelf

Self-like language implemented in the RPython language toolkit.
29 stars 3 forks source link

Investigate how to make JIT faster #85

Open Bystroushaak opened 5 years ago

Bystroushaak commented 5 years ago

Although JIT was implemented in #78 and it works, it is not much fast. Investigage the can_enter_jit() hint and also hints for pure functions, constants and so on. I think it should run much much faster than just 20%.

From my first attempt, it seems that there is virtually no difference between specifying code_context as green variable and not specifying any green variables. This is kinda strange.

Use profiler.