[all-commits] [llvm/llvm-project] 7aff66: [pseudo] Store reduction sequences by pointer in h...

Sam McCall via All-commits all-commits at lists.llvm.org
Thu Jun 23 10:41:38 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7aff663b2a04f6bea0732ed3b11e10466affb2ac
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M clang-tools-extra/pseudo/lib/GLR.cpp

  Log Message:
  [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

More information about the All-commits mailing list