• will-ca's avatar
    Make fused function dispatch O(n) for `cpdef` functions. (GH-3366) · 27b5adbb
    will-ca authored
    * Rewrote signature matching for fused cpdef function dispatch to use a pre-built tree index in a mutable default argument and be O(n).
    
    * Added test to ensure proper differentiation between ambiguously compatible and definitely compatible arguments.
    
    * Added test to ensure fused cpdef's can be called by the module itself during import.
    
    * Added test to ensure consistent handling of ambiguous fused cpdef signatures.
    
    * Test for explicitly defined fused cpdef method.
    
    * Add .komodoproject to .gitignore.
    
    * Add /cython_debug/ to .gitignore.
    
    Closes #1385.
    27b5adbb
fused_cpdef.pyx 4.33 KB