Posted to tcl by evilotto at Sat Feb 04 01:27:30 GMT 2017view raw
- % set a {}
- % time {append a " {}" ; llength $a} 1000
- 47.583 microseconds per iteration
- % set a {}
- % time {append a " {}" ; llength $a} 10000
- 460.8025 microseconds per iteration
- % set a {}
- % time {lappend a {} ; llength $a} 100000
- 0.63703 microseconds per iteration
- %