Koffee icon indicating copy to clipboard operation
Koffee copied to clipboard

Inline functions

Open Gaming32 opened this issue 1 year ago • 1 comments

I've noticed that no functions in this class are inline. While the performance benefits of inlining here are maybe minimal, non-inlined functions each generate their own class (in Kotlin <1.8.0, unless configured otherwise), which leads to a lot of classes. This large number of classes also increases build times and code analysis considerably. (IntelliJ takes multiple minutes to optimize the imports on a 1000 line file that uses this library, while other files take a matter of seconds.)

Gaming32 avatar Nov 07 '22 00:11 Gaming32