Hacker News new | past | comments | ask | show | jobs | submit login
Efficient String Concatenation in Python (skymind.com)
5 points by caffeinewriter on April 22, 2013 | hide | past | favorite | 1 comment



This write-up is outdated.

Better data can be found via a search engine.

My own testing (https://gist.github.com/TimZehta/5435216) reveals:

Loops: 1,000,000

method1, 0.297 seconds, 11296 KB method3, 0.568 seconds, 17084 KB method4, 0.366 seconds, 66732 KB method5, 0.483 seconds, 20840 KB method6, 0.251 seconds, 15600 KB

Sorry for the enigmatic names (started with code form linked article), but I've run out of time.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: