aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorJack Koenig2021-08-31 14:10:29 -0700
committerJack Koenig2021-12-01 11:40:52 -0800
commit17250fba841ae3129dc798c0bc48d10200be18ae (patch)
tree37b93b1c487f78e39acd17f94faf5f5c3b24b9d8 /project
parent64a0ca2512199c55e51ec90dbd3ec7d563472255 (diff)
Use ANTLR Listener to save memory during parsing
The ANTLR-generated concrete syntax tree (CST) takes up much more memory than the parsed .fir file. By using a Listener, we can construct the FIRRTL AST live with CST construction and null out the CST as we consume pieces of it. Not only does this improve performance, it drastically reduces max memory use for the parser.
Diffstat (limited to 'project')
0 files changed, 0 insertions, 0 deletions