servo / unicode-bidi

Implementation of the Unicode Bidirection Algorithm in Rust
Other
77 stars 33 forks source link

Skip explicit level computation when possible. #5

Closed mbrubeck closed 8 years ago

mbrubeck commented 9 years ago

If the text is all one direction or contains no explicit formatting characters, just set everything to the same level. This is based on optimizations using the flags variable in Gecko's nsBidi class. r? @SimonSapin

Review on Reviewable

bors-servo commented 9 years ago

:umbrella: The latest upstream changes (presumably #10) made this pull request unmergeable. Please resolve the merge conflicts.

mbrubeck commented 8 years ago

This needs a rewrite. Closing the PR for now.