From: Ned Konz Date: 2001-11-01T01:17:26+09:00 Subject: [ruby-talk:23975] Re: Ruby's distribution payload size On Wednesday 31 October 2001 08:03 am, Mark Hahn wrote: > How hard would it be to develop a utility to strip Ruby code that isn't > used, to make the smallest possible distribution? Would it require a > fundamental change to the Ruby environment? how would you detect it? You can't do static analysis; what about: eval("p" + "uts" + " 3") Also, it's hard to tell which methods a given message is going to call. You could analyze the run of a program, but that would require that you had 100% coverage, which is typically impossible for big programs. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com