Join GitHub today
Add RectangleKey for hashing float rects. #3348
The Au <-> f32 conversion is showing up in a lot of talos profiles.
Since layout in both Gecko and Servo already operate on Au, the
This patch changes the main rectangles in PrimitiveKey to be
On Talos, this takes the dl_mutate time from ~4780 down to ~4600
This is quite a small patch (~50 lines). It just looks big because it includes #3346. It might be easier to wait until that lands before reviewing this.
Attached try run showing the talos improvements and no related test failures: