Module stylesheetcontentscache

Source

Structsยง

StylesheetContentsCache ๐Ÿ”’
StylesheetContentsCacheKey ๐Ÿ”’
Using Atom as a cache key to avoid inefficient string content comparison. Although the Atom is already based on reference counting, an extra Rc is introduced to trace how many style::stylesheets::Stylesheets of style elements are sharing same StylesheetContents, based on the following considerations:

Constantsยง

MAX_LENGTH_OF_TEXT_INSERTED_INTO_TABLE ๐Ÿ”’
STYLESHEETCONTENTS_CACHE ๐Ÿ”’
UNIQUE_OWNED ๐Ÿ”’