in reply to Re: Is there a reason to use "join" instead of just using the period? (Benchmark results.)
in thread Is there a reason to use "join" instead of just using the period?
On this basis, I'm changing my general rule-of-thumb to use concatenation over join.Go with the most readable alternative. The slowest of your examples happens 300,000 times per second. I very much doubt you do enough concatenatons in you progams for a 15% improvment of that to matter.
|
|---|