From: Eric Hodel Date: 2003-11-06T15:12:22-08:00 Subject: Re: ruby-dev summary 21637-21729 --9Q2l3mYpK16UQ/iv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Robert Church (rc@pgdn.org) wrote: > On Fri, Nov 07, 2003 at 07:57:32AM +0900, Paul Brannan quipped: > > > How about > > >=20 > > > s =3D "this is a string " + > > > "that I have chosen to break " + > > > "into multiple lines" > >=20 > > This works, but the concatenation is done at run-time instead of at > > compile-time. >=20 > Or so you assume. I don't know how Matz will handle this, but there's > no reason concatenation of string constants could not be done at > compile time. You can redefine String#+, so no such optimization must be made at compile time. --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --9Q2l3mYpK16UQ/iv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/qtVWMypVHHlsnwQRAtPlAJ9DCuzf1TwhCsALULpNe8/BK3PC/gCcCjhw gBjJP9ZU9QLi6bD30tO9TgA= =LqSQ -----END PGP SIGNATURE----- --9Q2l3mYpK16UQ/iv--