Skip to content

Is this a bug? #1363

Answered by vegorov-rbx
4eslr asked this question in Q&A
Discussion options

You must be logged in to vote

Native code generation compiles scripts in with -O2 optimization level, which includes function inlining, the effect of which you see in your script.

https://luau-lang.org/performance#function-inlining-and-loop-unrolling

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 4eslr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants