Skip to content

Commit d1dafdf

Browse files
authored
Update 2025-11-30-comptime-c-functions.md
1 parent 794e0af commit d1dafdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ macro_version:
2020

2121
The best use-case I can think of for this technique is generating lookup tables at compile-time, as math functions like `sin()` *also* get optimized away.
2222

23-
Embedded systems with tight runtime constraints, and zero-cost abstraction C libraries could also use this technique, but they typically don't want to rely too heavily on the optimizer's cleverness.
23+
Embedded systems with tight runtime constraints, and zero-cost abstraction C libraries could also use this technique, but **they typically don't want to rely too heavily on the optimizer's cleverness**.
2424

2525
[Link-time optimization](https://en.wikipedia.org/wiki/Interprocedural_optimization) with `-flto` should allow Clang and GCC to perform these optimizations even when the code is split across several object files.
2626

0 commit comments

Comments
 (0)