mirror of
https://github.com/servo/servo
synced 2026-05-14 02:47:14 +02:00
I wanted to add an environmental variable to disable the style sharing cache for gecko, but the current pattern involves lazy_static!, which involves an atomic operation on lookup, which is a bit hot to do each time we try to share styles. This makes that work happen once per process.