I quote the code of gpt, as follows:
The fastest way to sum three numbers is to write A+B+C directly. There is no faster way than this.
A+B+C
int sum3(int a, int b, int c) { return a + b + c; }