[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] manually inlining functions
From: |
Elijah Stone |
Subject: |
Re: [Tinycc-devel] manually inlining functions |
Date: |
Fri, 30 Apr 2021 20:50:36 -0700 (PDT) |
On Sat, 1 May 2021, Yakov wrote:
having to write macros for performance feels so obsolete, double
evaluation hiding in dark corners etc. And function calls are so
expensive in tight loops.
Calls are fairly cheap, on modern architectures. The performance impact
of an inliner would be fairly marginal for tcc, compared with, say, a
register allocator.