+
    K<ix                         R t ^RI5 ^ RIHt ^ RIt^ RItRt^tR tR t	R
R lt
R t]R	8X  d   ]P                  ! ^4       ]! 4        R# R# )z*Benchmark the qu2cu algorithm performance.)*)curve_to_quadraticNg      ?c           	      b   \        ^^V ,          ,           4       Uu. uFA  p\        ;QJ d    . R \        ^4       4       F  NK  	  5M! R \        ^4       4       4      NKC  	  pp. p\        V 4       F4  pVP                  \        W$^,          V^,          ^,            4      4       K6  	  V# u upi )   c              3   b   "   T F%  p\        \        P                  ! ^ R4      4      x  K'  	  R# 5i)    i   N)floatrandomrandint).0coords   & ;/usr/lib/python3/dist-packages/fontTools/qu2cu/benchmark.py	<genexpr>"generate_curves.<locals>.<genexpr>   s#     C(eFNN1d+,,(s   -/)rangetupleappend)npointpointscurvesis   &    r   generate_curvesr      s     1q1u9%%E 	C%(CC%(CC%   F1XeFq51q519567 Ms
   B,7B,c                  x    \        \        4      p V  Uu. uF  p\        V\        4      NK  	  ppV\        3# u upi N)r   
NUM_CURVESr   MAX_ERR)r   curve
quadraticss      r   setup_quadratic_to_curvesr      s9    Z(FBHI&$UG4&JIw Js   7c                 0   R V,           pV'       d'   \        V: RV: R2RR7       VRV,           ,          pM\        RV,          RR7       R p\        P                  ! V! W4      W4R7      p\        R	\        V4      R
,          V,          ,          4       R# )setup_z with : )end_z%s:c                 \   a a \        4       S ,          o \        4       S,          oV V3R  lpV# )c                     < S ! S! 4       !  # r    )function
setup_funcs   r   wrapped/run_benchmark.<locals>.wrapper.<locals>.wrapped)   s    Z\**    )globals)r)   r*   r+   s   ff r   wrapperrun_benchmark.<locals>.wrapper%   s'    9X&Yz*
	+ r-   )repeatnumberz	%5.1fusg    .AN)printtimeitr1   min)moduler)   setup_suffixr1   r2   r*   r/   resultss   &&&&&   r   run_benchmarkr9      ss    H$Jx6B?cL((
ehB' mmGH9&XG	+W	1F:
;<r-   c                      \        R R4       R# )qu2cuquadratic_to_curvesN)r9   r(   r-   r   mainr=   2   s    '01r-   __main__)r#      r   )__doc__r;   fontTools.cu2qur   r	   r4   r   r   r   r   r9   r=   __name__seedr(   r-   r   <module>rD      sQ    0  .  

=*2 z
KKNF r-   