Function to print a diamond shape

Jay Norwood jayn at prismnet.com
Tue Mar 25 05:30:36 PDT 2014


These are times on ubuntu. printDiamond3 was slower than 
printDiamond.


brad: time: 12387[ms]
printDiamond1: time: 373[ms]
printDiamond2: time: 722[ms]
printDiamond3: time: 384[ms]
jay1: time: 62[ms]
sergei: time: 3918[ms]
jay2: time: 28[ms]
diamondShape: time: 2725[ms]
printDiamond: time: 19[ms]
printDiamonde2a: time: 18[ms]
printDiamonde2b: time: 14[ms]
printDiamond3: time: 26[ms]



More information about the Digitalmars-d-learn mailing list