Ticket #268 (closed enhancement: fixed)
optimise away redundant None and type checks
| Reported by: | scoder | Owned by: | scoder |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.13 |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description
After implementing #233 and fixing #166, the syntax tree ends up with a couple of redundant None checks where method calls were optimised. The C compiler might be able to remove them in many cases, but there should still be a separate pass that removes the redundant checks right before the code generation phase.
Change History
Note: See
TracTickets for help on using
tickets.
