Anything I need to be aware of if I use `-Xdisable...
# kotlin-native
m
Anything I need to be aware of if I use
-Xdisable-phases=Devirtualization
? Performance penalty?
m
Slight performance penalty. Basically disables an optimization where the compiler tries to deduce the actual real type of the value to make a normal function call to the overwritten method instead of doing a virtual function call
Basically nothing though probably
m
Alright, thank you very much 🙂
c
It's one indirection less though for every virtual function call. It really depends on the application, the performance impact can also be significant.