# Effective Kotlin Item 51: Use the inline modifier for functions with parameters of functional types

DevFeed: [Effective Kotlin Item 51: Use the inline modifier for functions with parameters of functional types](<https://devfeed.tech/articles/effective-kotlin-item-51-use-the-inline-modifier-for-functions-with-parameters-of-functional-types-39281.md>)

Original publisher: [Read original article](<https://kt.academy/article/ek-inline-functions>)

Published: 2021-08-30T00:00:00Z

Content type: article

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [faster](<https://devfeed.tech/tags/faster.md>), [functional](<https://devfeed.tech/tags/functional.md>), [functions](<https://devfeed.tech/tags/functions.md>), [generics](<https://devfeed.tech/tags/generics.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [type-parameter](<https://devfeed.tech/tags/type-parameter.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

## AI overview

This article explains Kotlin inline functions, including how the compiler replaces calls with function bodies. It covers reified type arguments, performance effects, non-local returns, and the costs of inlining, with examples involving the standard library, Gson, and Koin.

## Source excerpt

How inline functions work and why they can be so important for the performance of our application.