Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (19 loc) · 556 Bytes

null_pointer_checks.md

File metadata and controls

34 lines (19 loc) · 556 Bytes

Null Pointer Checks

Problem

Currently all functions do proper argument checking which might degrade performance.

Constraints

Assumptions

Considered Alternatives

  • Removing all null pointer checks and do assert on debug code
  • Removing some null pointer checks
  • adding functional high-level methods that avoid most null pointer checks

Decision

Rejected (keep checks) due to time constraints

Rationale

  • should have consistent, defined behavior

Implications

  • ABI, API

Related Decisions

Notes

  • Benchmarks needed