From: Aaron Patterson Date: 2011-07-13T14:40:35+09:00 Subject: [ruby-core:38038] Re: [Ruby 1.9 - Bug #4962][Open] come back gem_prelude! --FsscpQKzF/jJk6ya Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 11, 2011 at 08:50:12AM +0900, Nobuyoshi Nakada wrote: > Hi, >=20 > At Wed, 6 Jul 2011 06:56:09 +0900, > Aaron Patterson wrote in [ruby-core:37813]: > > We can also help rbconfig go on a diet. I know it's not enough, but > > this eliminated ~400 object allocations on my machine. (what is the > > MAKEFILE_CONFIG for anyway?) >=20 > MAKEFILE_CONFIG keeps make macros unexpanded. So you should > keep MAKEFILE_CONFIG not CONFIG, and expand it dynamically when > the latter is accessed. I see. What did you think of my patch that only defined MAKEFILE_CONFIG during const_missing? That /should/ result in the same behavior (I think). --=20 Aaron Patterson http://tenderlovemaking.com/ --FsscpQKzF/jJk6ya Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iQEcBAEBAgAGBQJOHS/LAAoJEJUxcLy0/6/G9lMIAJCGEVHvWNPF1Hx7A+ZFoGuT kiOzw15C89TsihNhD4jdJykeBFAxDRt9XlR64Z8njHG7NuFW4yNZRrVnJ6O9FWum dTm/SKzP0bc3N+8B3pp0RvaVb0vzil7Uq3EPmb9MdfIBtWkUX4Dpt05x4k70rPYL 8A83GLf+BGNNovzgXjY0K2tBQNNG6EsaYxmLCsEDOtzPsVB3rFdRNzmZ+NLRaahO /wQyw6agQIudJDab091jym7KSX7SyikXaLZ7SdKKoZJmBX59RS5IZs6xTgtHxacZ yeJJHrlw7/b1/a6GicxGGqK2mviBa8twLqxg9+lbtx0euvibZ4sKFo0L9x/tJVI= =/nHW -----END PGP SIGNATURE----- --FsscpQKzF/jJk6ya--