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

Would using getters make it faster? #39

Closed
eorroe opened this issue Feb 3, 2016 · 2 comments
Closed

Would using getters make it faster? #39

eorroe opened this issue Feb 3, 2016 · 2 comments

Comments

@eorroe
Copy link

eorroe commented Feb 3, 2016

I know the file is small and should be fast, perhaps I'm micro optimizing but Instead of running all the code right away would using getters make it faster, therefore only when each feature is checked:

if(feature.webGL) { // right here it'll run the getter instead of onload

}

Perhaps only do this if this file exceeds a certain file size?

@amovah
Copy link
Contributor

amovah commented Feb 4, 2016

we have a lot conversation about it here, #4

@eorroe
Copy link
Author

eorroe commented Feb 4, 2016

Just replied

@eorroe eorroe closed this as completed Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants