• Julien Jerphanion's avatar
    [DEBUG] Recursive build · d03116f0
    Julien Jerphanion authored
    We still have the prom on the secondf n the array.
    
    ```
     → p main.py 2> /dev/null
    D 0x5609e0520450, 0x5609e05204b0, 0x5609e0520510
    I 0x5609e064a580, 0x5609e064a5b0, 0x5609e064a5e0
    Depth 10 on dim 0: [0, 24) med: 12 -531495856 -531495760 -531495664     [1, 0, 7, 3, 4, 5, 6, 2, 10, 9, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
                   [1.000000, 0.000000, 7.000000, 3.000000, 4.000000, 5.000000, 6.000000, 2.000000, 10.000000, 9.000000, 8.000000, 11.000000]
    
    D 0x5609e05204b0, 0x5609e05204e0, 0x5609e0520510
    I 0x5609e064a5b0, 0x5609e064a5c8, 0x5609e064a5e0
    Depth 9 on dim 1: [12, 24) med: 18 -531495760 -531495712 -531495664     [1, 0, 7, 3, 4, 5, 6, 2, 10, 9, 8, 11, 23, 22, 21, 20, 19, 18, 12, 13, 14, 17, 15, 16]
                   [1.000000, 0.000000, 7.000000, 3.000000, 4.000000, 5.000000, 6.000000, 2.000000, 10.000000, 9.000000, 8.000000, 11.000000]
    
    D 0x5609e0520450, 0x5609e0520480, 0x5609e05204b0
    I 0x5609e064a580, 0x5609e064a598, 0x5609e064a5b0
    Depth 9 on dim 1: [0, 12) med: 6 -531495856 -531495808 -531495760       [1, 0, 4, 3, 2, 5, 6, 7, 10, 9, 8, 11, 23, 22, 21, 20, 19, 18, 12, 13, 14, 17, 15, 16]
                   [1.000000, 0.000000, 4.000000, 3.000000, 2.000000, 5.000000, 6.000000, 7.000000, 10.000000, 9.000000, 8.000000, 11.000000]
    
    D 0x5609e05204b0, 0x5609e05204c8, 0x5609e05204e0
    I 0x5609e064a5b0, 0x5609e064a5bc, 0x5609e064a5c8
    Depth 8 on dim 0: [12, 18) med: 15 -531495760 -531495736 -531495712     [1, 0, 4, 3, 2, 5, 6, 7, 10, 9, 8, 11, 23, 21, 19, 20, 18, 22, 12, 13, 14, 17, 15, 16]
                   [1.000000, 0.000000, 4.000000, 3.000000, 2.000000, 5.000000, 6.000000, 7.000000, 10.000000, 9.000000, 8.000000, 11.000000]
    
    ...
    ...
    ...
    ```
    d03116f0
kdtree.pyx 7.68 KB