mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Remove CubicBezier cached sample inline cache
This reduces the size of CubicBezier objects from 1592 bytes to 56 bytes.
This commit is contained in:
committed by
Andreas Kling
parent
f3a937ee76
commit
9ce5bbe059
Notes:
github-actions[bot]
2025-03-25 07:52:43 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/9ce5bbe059e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4071
@@ -57,7 +57,7 @@ public:
|
||||
double t;
|
||||
};
|
||||
|
||||
mutable Vector<CachedSample, 64> m_cached_x_samples {};
|
||||
mutable Vector<CachedSample> m_cached_x_samples {};
|
||||
|
||||
bool operator==(CubicBezier const&) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user