Commit f343236
perf(build): drop arrow/api.h umbrella from vgi_logging.hpp
vgi_logging.hpp is included by ~34 TUs (it hosts the VGI_LOG macros), and
each was parsing the full <arrow/api.h> umbrella (~92k preprocessed lines)
solely because HandleBatchLogMessage declares shared_ptr<arrow::RecordBatch>
/ shared_ptr<arrow::KeyValueMetadata> parameters. Those are forward-declarable
since the header never touches Arrow definitions.
Replace the include with forward declarations and move <arrow/api.h> into
vgi_logging.cpp where the definitions are actually used. Cuts the Arrow
header parse out of every logging-only TU.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0e5eb64 commit f343236
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
0 commit comments