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

Make sourcemap generation a bit faster #2834

Merged
merged 1 commit into from Mar 15, 2016

Conversation

nicks
Copy link

@nicks nicks commented Mar 5, 2016

see #2828

@nicks
Copy link
Author

nicks commented Mar 7, 2016

This basically memoizes the split() call. That way, we split the lines once per file instead of on every mapping. And it provides a class to add future memoization.

@nicks
Copy link
Author

nicks commented Mar 14, 2016

hi, is this pull-request OK?

@matthew-dean
Copy link
Member

Looks good to me (and a PR from Medium has some clout ;). Pulling. Thanks!

matthew-dean added a commit that referenced this pull request Mar 15, 2016
Make sourcemap generation a bit faster
@matthew-dean matthew-dean merged commit d094d7e into less:master Mar 15, 2016
@nicks nicks deleted the nick-sourcemap branch March 25, 2016 15:56
@matthew-dean
Copy link
Member

Note that this PR needed to be reverted. You're welcome to open a new PR, but because the first PR passed Less tests, you would need to add tests demonstrating the first PR failing, and the second PR succeeding.

See: #2896

@frostyfrog
Copy link

Might want to reopen #2828? 😉

@matthew-dean
Copy link
Member

@frostyfrog Good catch, thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants