Skip to content
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

Compile a fast build using closure compiler #27

Open
subtleGradient opened this issue Feb 19, 2011 · 0 comments
Open

Compile a fast build using closure compiler #27

subtleGradient opened this issue Feb 19, 2011 · 0 comments

Comments

@subtleGradient
Copy link
Member

One of the ways to speed up slick is to reduce function calls by inlining all the functions.

However, keeping the code readable and maintainable is a much higher priority than speed and we can't sacrifice that.

Google closure has an advanced setting that inlines functions. This may primarily be to reduce file size, but it may also be intended to speed up the code as well.

Let's try this out and see if we can squeeze out a bit more speed.

If this works we can go through all the code and move more things into separate functions to make the code even more readable. This won't effect the speed because the fast compiled build will inline all those functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant