-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract instr_info & var_info to standard OCaml int #209
Conversation
These types are now extracted to standard OCaml int. This avoids costly conversions.
Anytime! I have a question about the 'change' column. How it is being computed? We could try to include that computation on some script under libjade/scripts/ci to produce this kind of report systematically. |
I’ve run
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Vincent,
I think this commit goes into the good direction.
I have a small question: why do you extract var_info to "int" instead of the ocaml var_info ?
I think this will allows to remove the conversion in Conv.ml.
Thanks for the suggestion. Last commit does remove the |
Out of curiosity, why did you do this move for |
Yes, this deserves a sequel. |
Agree, with you. Maybe we should ask Frederic I think he uses the fact that instr_info are positive and uses them as "instruction label" |
This seems to be good for performances (of the compiler).
The following table reports compilation times (in seconds) for
.jazz
files in libjade and the corresponding (base-2) speed-up.Thanks Tiago for the
jtiming
script in libjade!