[all-commits] [llvm/llvm-project] 650d01: [clang] Improve getFileIDLocal binary search. (#14...

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Jul 1 12:59:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 650d0151c623c123e4e9736fe50421624a329260
      https://github.com/llvm/llvm-project/commit/650d0151c623c123e4e9736fe50421624a329260
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2025-07-01 (Tue, 01 Jul 2025)

  Changed paths:
    M clang/lib/Basic/SourceManager.cpp

  Log Message:
  -----------
  [clang] Improve getFileIDLocal binary search. (#146510)

Avoid reading the `LocalSLocEntryTable` twice per loop iteration. NFC.

https://llvm-compile-time-tracker.com/compare.php?from=0b6ddb02efdcbdac9426e8d857499ea0580303cd&to=1aa335ccfb07ba96177b89b1933aa6b980fa14f6&stat=instructions:u



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list