servo/components
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
..
canvas auto merge of #5302 : mmatyas/servo/canvas_stroke, r=jdm 2015-03-25 07:54:50 -06:00
compositing layout: Implement CSS transitions per CSS-TRANSITIONS § 2. 2015-03-31 08:46:11 -07:00
devtools Notify devtools about new worker globals 2015-03-27 16:04:53 -03:00
devtools_traits Notify devtools about new worker globals 2015-03-27 16:04:53 -03:00
gfx gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
layout gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
layout_traits layout: Implement CSS transitions per CSS-TRANSITIONS § 2. 2015-03-31 08:46:11 -07:00
msg layout: Implement CSS transitions per CSS-TRANSITIONS § 2. 2015-03-31 08:46:11 -07:00
net broadcasting storage changes events 2015-03-31 21:51:41 +01:00
plugins Remove allow(missing_copy_implementations) attributes. 2015-03-23 10:49:44 +01:00
profile Use usize rather than u64 in MemoryReport. 2015-03-31 15:37:15 +02:00
script auto merge of #5476 : servo/servo/load-failure-panic, r=jdm 2015-04-01 07:51:46 -06:00
script_traits Use u32 for reflow ids. 2015-03-28 15:36:36 +01:00
servo gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
style gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
util layout: Implement CSS transitions per CSS-TRANSITIONS § 2. 2015-03-31 08:46:11 -07:00