Jan Svoboda
9d4837f47c
[clang][deps][modules] Allocate input file paths lazily ( #114457 )
...
This PR builds on top of #113984 and attempts to avoid allocating input
file paths eagerly. Instead, the `InputFileInfo` type used by
`ASTReader` now only holds `StringRef`s that point into the PCM file
buffer, and the full input file paths get resolved on demand.
The dependency scanner makes use of this in a bit of a roundabout way:
`ModuleDeps` now only holds (an owning copy of) the short unresolved
input file paths, which get resolved lazily. This can be a big win, I'm
seeing up to a 5% speedup.
2024-11-11 09:46:50 -08:00
..
2024-04-05 10:31:16 -07:00
2024-11-11 09:46:50 -08:00
2024-01-31 09:55:05 +08:00
2024-04-16 19:47:52 -07:00
2023-08-01 12:27:14 -07:00
2024-11-11 09:46:50 -08:00
2024-06-04 09:16:49 -07:00
2024-09-12 22:20:14 +03:00
2024-11-11 09:46:50 -08:00
2024-01-30 17:03:13 -08:00
2024-04-16 19:49:07 -07:00
2024-06-04 09:16:49 -07:00
2023-08-04 14:13:18 -07:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-06-04 09:16:49 -07:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-09-13 23:18:10 +03:00
2024-11-11 09:46:50 -08:00
2024-09-13 23:18:10 +03:00
2024-09-13 23:18:10 +03:00
2024-09-13 23:18:10 +03:00
2024-09-13 23:18:10 +03:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-04-09 13:26:45 -07:00
2024-04-09 13:26:45 -07:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2024-11-11 09:46:50 -08:00
2023-11-07 16:06:59 -08:00
2024-11-11 09:46:50 -08:00
2023-11-07 16:06:59 -08:00
2024-11-11 09:46:50 -08:00
2024-06-04 09:16:49 -07:00
2024-06-04 09:16:49 -07:00
2024-06-04 09:16:49 -07:00
2024-01-30 15:39:18 -08:00
2024-06-04 09:16:49 -07:00
2024-02-23 17:48:58 -08:00
2024-11-11 09:46:50 -08:00
2023-11-16 09:33:13 -05:00
2024-08-27 18:52:08 -07:00
2024-10-28 14:00:31 -07:00
2023-11-14 17:40:16 -05:00
2023-11-14 17:40:16 -05:00
2023-09-19 18:18:23 -07:00
2024-11-11 09:46:50 -08:00
2024-09-13 23:18:10 +03:00
2024-05-24 17:20:08 -04:00
2024-01-23 09:30:58 -08:00
2023-12-14 09:21:18 -08:00
2023-11-16 08:41:20 -08:00
2024-09-11 16:04:56 -07:00
2024-06-04 09:16:49 -07:00
2024-03-12 08:02:54 -07:00
2023-08-09 10:40:53 -07:00