Forum Discussion

kmiesse's avatar
kmiesse
Contributor
8 years ago

Null-safe Access Efficiency

Is there a performance gain by having Null-safe access checked or unchecked on snaps that have this property?

1 Reply

  • No, you won’t see any performance difference. Null-safe is just going to catch any exceptions encountered while evaluating expressions and turn the result into a null instead of a hard error. It’s not going to make anything faster.