# Problem - Global thunks cannot be inlined because they are stateful and requires synchronization. - This prevents later optimization, such as [SCCP](https://llvm.org/docs/Passes.html#sccp-sparse-conditional-constant-propagation). # Solution - Make global thunks that return constant scalar values pure functions. - Scalar values include `boolean`, `none`, `number`, and `string`.