in reply to Is there a reason to use "join" instead of just using the period?

I suspect it's an attempt to micro-optimise. join could in theory calculate the target string length before doing any concatenation. I don't know if it does or doesn't. If it does, that means it won't have to expand the string buffer size as it append its arguments.

  • Comment on Re: Is there a reason to use "join" instead of just using the period?
  • Download Code