Null-safe Access Efficiency
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2018 07:40 AM
Is there a performance gain by having Null-safe access checked or unchecked on snaps that have this property?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2018 01:41 PM
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.
