servo/components/style
Patrick Walton 750bbed2cb gfx: Perform more aggressive caching in
`FontContext::get_layout_font_group_for_style()`.

There are several optimizations here:

* We make font families atoms, to allow for quicker comparisons.

* We precalculate an FNV hash of the relevant fields of the font style
  structure.

* When obtaining a platform font group, we first check pointer equality
  for the font style. If there's no match, we go to the FNV hash. Only
  if both caches miss do we construct and cache a font group. Note that
  individual fonts are *also* cached; thus there are two layers of
  caching here.

15% improvement in total layout thread time for Facebook Timeline.
2015-04-01 08:58:16 -07:00
..
animation.rs layout: Implement CSS transitions per CSS-TRANSITIONS § 2. 2015-03-31 08:46:11 -07:00
build.rs Fix build scripts warnings. 2015-03-18 21:53:48 +01:00
Cargo.toml Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
font_face.rs gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
legacy.rs Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
lib.rs layout: Implement CSS transitions per CSS-TRANSITIONS § 2. 2015-03-31 08:46:11 -07:00
Mako-0.9.1.zip Cargoify servo 2014-09-08 20:21:42 -06:00
media_queries.rs Remove allow(missing_copy_implementations) attributes. 2015-03-23 10:49:44 +01:00
node.rs Move selector matching to an external library, for use outside Servo. 2015-02-23 16:29:34 +01:00
parser.rs gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
properties.mako.rs gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
README.md Update style/README.md - libcss is gone now 2014-10-23 16:23:54 -05:00
selector_matching.rs Fix warnings in style. 2015-03-18 19:29:48 +01:00
stylesheets.rs gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
values.rs gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00

servo-style

Style system for Servo, using rust-cssparser for parsing.