Skip to content

Commit ca070fb

Browse files
authored
Update 2025-11-30-comptime-c-functions.md
1 parent 6ce6319 commit ca070fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2025-11-30-comptime-c-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Compile-time function execution is great, but what if you're:
99
2. Don't want to use evil C macros.
1010
3. Want generic data structures that work for all types.
1111

12-
The below programs get optimized away at compile time, such that only the `printf()` at the end of `main()` is left, both with GCC and Clang.
12+
The below data structure showcase programs get optimized away at compile time, such that only the `printf()` at the end of `main()` is left, both with GCC and Clang.
1313

1414
[LTO](https://en.wikipedia.org/wiki/Interprocedural_optimization) should in theory allow GCC and Clang to perform this optimization even when the code is split across several object files, but I haven't bothered to test this for the below programs.
1515

0 commit comments

Comments
 (0)