Geometry_Engine: Performance benchmarking for null checking
Open
type:feature
- Dominant language
- C#
- Stars
- 30
- Forks
- 13
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 5
Description
#### Description:
In order to consider better the options and approaches for null handling in the PR https://github.com/BHoM/BHoM_Engine/pull/2516
A set of performance benchmarking for null checking is proposed.
Using one million calls to `SquaredDistance` and `Polyline.Length()` on following approaches
1. Baseline: no null checks
2. check all nulls directly within method
3. nulls checked with IsNull
4. nulls checked with IIsNull
5. with and without deepcheck (Polyline.Length() only)
Contributor guide
Assessment
This issue has not been assessed yet.