Skip to content

Sort subsequences#18

Merged
fitzgen merged 10 commits intomasterfrom
sort-subsequences
Feb 26, 2018
Merged

Sort subsequences#18
fitzgen merged 10 commits intomasterfrom
sort-subsequences

Conversation

@fitzgen
Copy link
Copy Markdown
Owner

@fitzgen fitzgen commented Feb 23, 2018

Implements the subsequence sorting algorithmic improvements from https://mrale.ph/blog/2018/02/03/maybe-you-dont-need-rust-to-speed-up-your-js.html and we get an additional 3x speed up:

@fitzgen fitzgen requested a review from tromey February 23, 2018 23:03
Copy link
Copy Markdown
Collaborator

@tromey tromey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I read this patch and it all seemed good to me, though at this point I don't understand as much of this code as I probably should.

I'm glad to see the custom quicksort removal. It's great that this isn't a problem any more, since that was always a mystery performance hack.

Comment thread src/lib.rs Outdated
}
}

/// An iterator returned by `Mappigns::by_original_location`.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "Mappings"

@fitzgen
Copy link
Copy Markdown
Owner Author

fitzgen commented Feb 26, 2018

Thanks for the review, @tromey :)

Happy to walk through any of the code with you, if you think it would help!

@fitzgen fitzgen merged commit 197660f into master Feb 26, 2018
@fitzgen fitzgen deleted the sort-subsequences branch February 26, 2018 23:10
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.

2 participants