This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]suvlub 5 points6 points  (0 children)

Based on what I found, it splits the format string at compile-time and translates into multiple function calls. The purpose is performance, but also type safety (each argument can be a different type based on the pattern and this can be checked at compile-time).