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

Seems we don't need cache #36

Open
jingsam opened this issue Nov 28, 2018 · 1 comment
Open

Seems we don't need cache #36

jingsam opened this issue Nov 28, 2018 · 1 comment

Comments

@jingsam
Copy link
Contributor

jingsam commented Nov 28, 2018

In https://github.com/mapbox/sphericalmercator/blob/master/sphericalmercator.js#L36-L39

The cache object is not used anywhere.

@jingsam
Copy link
Contributor Author

jingsam commented Nov 28, 2018

I see the cache. https://github.com/mapbox/sphericalmercator/blob/master/sphericalmercator.js#L62

But I doubt how necessary of the cache. Eliminate the cache would make code more concise and clean.

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

1 participant