Opened 5 years ago

Closed 5 years ago

#743 closed enhancement (fixed)

reduce None checks based on control flow analysis

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


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 (1)

comment:1 Changed 5 years ago by scoder

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