Ticket #743 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

reduce None checks based on control flow analysis

Reported by: scoder Owned by: scoder
Priority: major Milestone: 0.16
Component: Code Generation Keywords:
Cc:

Description

In many cases, Cython currently generates None checking code (e.g. for optimised builtin method access), even when it is clear from the assignments (e.g. literals) in the previous control flow that the value can never be None. These redundant checks should be removed.

Change History

Changed 3 years ago by scoder

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.