Proposal: takeFront and takeBack

Ed McCardell edmccard at hotmail.com
Thu Jul 5 09:28:51 PDT 2012


On 07/05/2012 02:35 AM, Ed McCardell wrote:
> When gdc finishes building on my 64-bit box I can run timings on that,

There also seems to be a speed improvement for consumeFront on 64-bit 
gdc, with both standard and Andrei's improved popFront:


standard popfront:
ascii 35.95%:  old [3 secs, 831 ms, 261 μs, and 5 hnsecs], new [1 sec, 
377 ms, 299 μs, and 7 hnsecs]
uni   49.48%:  old [4 secs, 860 ms, 874 μs, and 7 hnsecs], new [2 secs, 
405 ms, 372 μs, and 7 hnsecs]

improved popfront:
ascii 62.74%:  old [2 secs, 388 ms, 776 μs, and 5 hnsecs], new [1 sec, 
498 ms, 736 μs, and 2 hnsecs]
uni   61.26%:  old [4 secs, 58 ms, 522 μs, and 5 hnsecs], new [2 secs, 
486 ms, 451 μs, and 7 hnsecs]

--Ed


More information about the Digitalmars-d mailing list