diff options
author | Sam McCall <sam.mccall@gmail.com> | 2022-06-22 00:20:38 +0200 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2022-06-23 19:41:11 +0200 |
commit | 7aff663b2a04f6bea0732ed3b11e10466affb2ac (patch) | |
tree | fdfe56d8acdfef1be193b07bdc3156e32d206023 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3474d10e1a9010e03b1428d19a88d7d1f0fb12af (diff) | |
download | llvm-7aff663b2a04f6bea0732ed3b11e10466affb2ac.zip llvm-7aff663b2a04f6bea0732ed3b11e10466affb2ac.tar.gz llvm-7aff663b2a04f6bea0732ed3b11e10466affb2ac.tar.bz2 |
[pseudo] Store reduction sequences by pointer in heaps, instead of by value.
Copying sequences around as the heap resized is significantly expensive.
This speeds up glrParse by ~35% (2.4 => 3.25 MB/s)
Differential Revision: https://reviews.llvm.org/D128307
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions