mirror of
https://github.com/servo/servo
synced 2026-05-15 03:16:47 +02:00
Currently, the options are only initialized once and then never changed. Making this explicit allows optimizing accesses, e.g. caching opt values. For some options like `multiprocess` it is obvious that we would never want to support changing the value at runtime, however there are other options where it could be conceivable that we want to change them at runtime. However, imho such options might be better suited to put into a different datastructure, so that it is explicit which options can be changed at runtime, and which are fixed. Testing: Covered by existing tests (and manually running servo in multiprocess mode). Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>