mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A function is pure if it has no side-effects. If there is a call of a pure function with constant arguments, it always makes sense to inline it, because we know that the whole computation will be constant folded.
15 KiB
15 KiB