From ee2ccc4f872ba33a86057d87a99d1015b3c41cf1 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 12 Sep 2014 13:28:37 -0700 Subject: script: Use atom comparison in more places, especially for attributes. 75% improvement in style recalc for Guardians of the Galaxy. --- components/layout/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'components/layout/lib.rs') diff --git a/components/layout/lib.rs b/components/layout/lib.rs index 13e11e06c54..336b47476d8 100644 --- a/components/layout/lib.rs +++ b/components/layout/lib.rs @@ -28,9 +28,10 @@ extern crate "net" as servo_net; extern crate "msg" as servo_msg; #[phase(plugin, link)] extern crate "util" as servo_util; -extern crate string_cache; + #[phase(plugin)] extern crate string_cache_macros; +extern crate string_cache; extern crate collections; extern crate encoding; -- cgit v1.2.3