However, some questions still remain.
First, what is the benefit of const? Doesn’t JIT already inline frequently used constants? Are there any reports on the measured improvement in performance with const?
Second, why does IDEA then suggest to add const? Looks like it should be used only when you’re sure it won’t be used in other modules. That is, why does it suggest adding const to a public const val?