• John Zhang's avatar
    modified alloc benchmark · beba0d13
    John Zhang authored
    Preallocate 2D lists of pointers, purely index and assign within loop.
    This should remove the list append overhead.
    
    Also turn off GC on PyPy C backend, increase scale factor to have longer
    running time and more reliable measurements.
    beba0d13
targetalloc.py 1.19 KB