proc `+`(p: Point, v: Vector): Point =
        newPoint(p.x + v.x, p.y + v.y)
    
    
    Run

Maybe these procs are not inlined automatically.

You may try to apply inline pragma on the procs, or compile with passC:-flto 
for link time optimization.

Reply via email to