mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
![]() One of the possible problems of #1184 (firefox freezing periodically with Tridactyl enabled) is that Tridactyl uses too much RAM, which could cause Firefox to attempt to GC it from time to time. One easy optimisation to try to reduce this problem is to use singletons for metadata when possible (VoidType, AnyType...). According to my measurements, this saves the allocation of 933 objects, which amounted to ~0.03MB. Multiply this by 40 tabs and you get about 1.20MB saved, the space of a whole 1980-era floppy disk. |
||
---|---|---|
.. | ||
metadata | ||
types | ||
gen_metadata.ts |