Source annotations currently have the original source file on every node, which gets duplicated when serialized. This has significant consequences for parsing time (which is mostly in decoding strings), file size on disk, and memory usage when loading from externs.
For example, React.Basic.DOM.Generated (one of the largest extern files I have on hand) is 26MB, 10MB of which is the same file path string repeated over and over again.
Reactions are currently unavailable
Source annotations currently have the original source file on every node, which gets duplicated when serialized. This has significant consequences for parsing time (which is mostly in decoding strings), file size on disk, and memory usage when loading from externs.
For example, React.Basic.DOM.Generated (one of the largest extern files I have on hand) is 26MB, 10MB of which is the same file path string repeated over and over again.