mirror of
https://github.com/servo/servo.git
synced 2025-07-28 17:50:37 +01:00
Optimize `Node.normalize()`. Do not copy the discarded node's text data, borrow it. Closes #6658. p.s. What's the `let text_node = text_node.clone();` for? I removed it because it doesn't seem to be necessary, but I'd like to be sure. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6667) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
dom | ||
parse | ||
build.rs | ||
Cargo.toml | ||
clipboard_provider.rs | ||
cors.rs | ||
devtools.rs | ||
document_loader.rs | ||
horribly_inefficient_timers.rs | ||
layout_interface.rs | ||
lib.rs | ||
makefile.cargo | ||
network_listener.rs | ||
page.rs | ||
script_task.rs | ||
textinput.rs | ||
timers.rs | ||
webdriver_handlers.rs |