Tagged articles

inline functions

4 articles · Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Jun 17, 2026 · Fundamentals

Kotlin Inline Functions: More Than Just a Performance Trick

This article explains how Kotlin's inline keyword eliminates lambda object allocation and virtual calls, enables non‑local returns and reified generics, discusses inline properties and their performance benefits, and outlines scenarios where inlining can backfire, helping developers use it wisely.

AndroidKotlinPerformance Optimization
0 likes · 12 min read
Kotlin Inline Functions: More Than Just a Performance Trick
Liangxu Linux
Liangxu Linux
Nov 11, 2025 · Fundamentals

How to Classify C Functions for Cleaner Code and Better Optimization

This article explains three practical categories for C functions—pure functions with no side effects, functions that read external state without modifying it, and functions that both read and depend on external variables—showing how the classification aids memoization, re‑entrancy reasoning, and inline‑function usage.

C ProgrammingPure Functionsfunction classification
0 likes · 5 min read
How to Classify C Functions for Cleaner Code and Better Optimization
php Courses
php Courses
Jul 24, 2025 · Fundamentals

Master C++ Default Arguments and Inline Functions: When and How to Use Them

This article explains C++ default arguments and inline functions, covering their definitions, syntax, rules, practical code examples, advantages, appropriate use cases, and key considerations, and compares the two features to help developers write clearer and more efficient code.

C#Programming Fundamentalsdefault-arguments
0 likes · 5 min read
Master C++ Default Arguments and Inline Functions: When and How to Use Them
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 24, 2024 · Mobile Development

Unlock Peak Kotlin Performance with Advanced Refactoring Techniques

This article guides developers through a series of Kotlin refactoring steps—replacing when statements with HashMap, introducing payload mechanisms, infix functions, inline registration, and delegated properties—to dramatically improve event‑handling performance, readability, and maintainability while adhering to the single‑responsibility principle.

Dependency InjectionHashMapInfix Functions
0 likes · 16 min read
Unlock Peak Kotlin Performance with Advanced Refactoring Techniques