Koffee
Koffee copied to clipboard
Inline functions
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.)