# @inlinable performance example

**URL:** <https://forums.swift.org/t/inlinable-performance-example/65663>\
**Category:** Using Swift\
**Tags:** performance\
**Created:** [June 19, 2023, 1:40pm UTC](https://forums.swift.org/t/inlinable-performance-example/65663 "2023-06-19T13:40:21Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [June 27, 2023, 3:17pm UTC](https://forums.swift.org/t/inlinable-performance-example/65663/17 "2023-06-27T15:17:47Z")

</div>

> [@nicklockwood](#):
>
> If you're compiling the modules together then isn't the compiler free to make those optimizations anyway, without @inlinable being required?

no, for SPM projects, it cannot.

---

_[View the full topic](https://forums.swift.org/t/inlinable-performance-example/65663)._
