---
title: "Discussion on \"Prefer Function Reference over Lambda in Kotlin? Wrong!\" | Hashnode"
description: "Discussion on \"Prefer Function Reference over Lambda in Kotlin? Wrong!\". You may think Kotlin function reference runs faster than Kotlin lambda, but wrong! In fact, Kotlin lambda runs 2x faster!"
url: "https://hashnode.com/posts/prefer-function-reference-over-lambda-in-kotlin-wrong/631bd3aaf73f4734bc0529ba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Prefer Function Reference over Lambda in Kotlin? Wrong!](https://vtsen.hashnode.dev/prefer-function-reference-over-lambda-in-kotlin-wrong?utm_source=hashnode&utm_medium=feed)

You may think Kotlin function reference runs faster than Kotlin lambda, but wrong! In fact, Kotlin lambda runs 2x faster!

Sep 10, 2022 · 6 min read · vtsen.hashnode.dev  
Updated Oct 13, 2022  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#kotlin-beginner](https://hashnode.com/tag/kotlin-beginner)
-   [#lambda](https://hashnode.com/tag/lambda)
-   [#jetpack-compose](https://hashnode.com/tag/jetpack-compose)
-   [#android](https://hashnode.com/tag/android)

## Written by

[Vincent Tsen](https://hashnode.com/@vtsen)

@vtsen · Sydney

  
[View profile](https://hashnode.com/@vtsen)

Native Android Kotlin Developer

I'm a self-taught hobbyist Android developer who loves to build projects and share valuable tips for new Android developers. Feel free to comment, share or connect with me!

## Responses 1

Markdown supported · ⌘↵ to post

[Mohammed Mahmood Ahmed](https://hashnode.com/@skyKoder)

[May 19, 2024](https://hashnode.com/posts/prefer-function-reference-over-lambda-in-kotlin-wrong/631bd3aaf73f4734bc0529ba/comment/6649af1d052aa2d439e384ca)

Hi vincent

I am currently using kotlin 2.0.0RC but the function reference is performing at par with the non-object function.

I ran the same tests that you mentioned in the article

[Vincent Tsen](https://hashnode.com/@vtsen)

[May 19, 2024](https://hashnode.com/posts/prefer-function-reference-over-lambda-in-kotlin-wrong/631bd3aaf73f4734bc0529ba/comment/6649af1d052aa2d439e384ca#reply-6649f7644f7d39add6b4d0b9)

Thanks for the information. It is good to know.
