Vulkan-Hpp has a module interface file[1] that just exports a bunch of `using` declarations. The speedup is significant, because the Vulkan-Hpp headers are immense: `vulkan_structs.hpp`[2] is 116000+ lines on its own.
With the module, the giant list of names is compiled once into a large file, and then imported into consumers as necessary.
With the module, the giant list of names is compiled once into a large file, and then imported into consumers as necessary.
[1]: https://github.com/KhronosGroup/Vulkan-Headers/blob/main/inc...
[2]: https://github.com/KhronosGroup/Vulkan-Headers/blob/main/inc...