this one is surprising to me > [ 'foo', 'bar', 'baz', 'foobar' ] bench. '2,030,000 per second.' > [ '' join: #( 'foo' 'bar' 'baz' 'foobar' ) ] bench. '665,000 per second.' > [ String streamContents: [ :out | out nextPutAll: 'foo'; nextPutAll: 'bar'; > nextPutAll: 'baz'; nextPutAll: 'foobar' ] ] bench. '1,580,000 per second.'
- [Pharo-dev] Efficient string concatenation - propose... btc
- Re: [Pharo-dev] Efficient string concatenation ... Tudor Girba
- Re: [Pharo-dev] Efficient string concatenation ... Andres Valloud
- Re: [Pharo-dev] Efficient string concatenat... Sven Van Caekenberghe
- Re: [Pharo-dev] Efficient string concat... Stéphane Ducasse
- Re: [Pharo-dev] Efficient string co... Andres Valloud
- Re: [Pharo-dev] Efficient string concat... Andres Valloud
- Re: [Pharo-dev] Efficient string co... Tudor Girba
