From: Marcin 'Qrczak' Kowalczyk Date: 2002-08-24T23:29:01+09:00 Subject: Re: ruby-dev summary 17875-17964 Tue, 13 Aug 2002 22:30:44 +0900, Paul Brannan pisze: >> * str[n] returns strings whose length is 1. > > Won't this cause additional allocations? Couldn't 256 one-character strings be preallocated statically? I don't know how mutability affects this though. Some languages make strings immutable for a reason. -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/