Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLayoutWorker stack overflow when running Dromaeo #6824
Closed
Labels
Comments
|
FYI, you'll want my modified Dromaeo, for automated mode and console output. |
|
@pcwalton does the quicksort_helper look like it's working correctly to you? Each stack frame shows it decreasing the value for |
|
After modifying rust-selectors to use an introsort implementation instead, it gets past that one (it fails on another one for an unrelated reason). |
bors-servo
pushed a commit
to servo/rust-selectors
that referenced
this issue
Jul 31, 2015
Use an introspective sort Rust-selectors currently uses a naive recursive quicksort. This algorithm performs O(n^2) comparisons when the list is already sorted, and, worse, creates O(n^2) stack frames, as seen in servo/servo#6824. Let's be smarter. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-selectors/43) <!-- Reviewable:end -->
|
Fixed by servo/rust-selectors#43 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(This output from the test harness for #6759).
And this is the top of the stack trace, reported by gdb: