pure-c / purec

C backend for PureScript
232 stars 8 forks source link

Performance optimizations #64

Closed felixSchl closed 3 years ago

felixSchl commented 3 years ago

This PR introduces a round of optimizations of the generated C code. Original motivation was to attempt and match the speed at which the transformer package test suite runs. Unfortunately the generated still cannot and likely never will be able to match the optimizations V8 can perform at runtime.

I am opening this as a PR for visibility and in order to solicit feedback and/or ideas.

What has been done so far:

TODO