This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Speed issue?


Boris Mizhen - èé wrote:
Why not make [--warn-undefined-variable --warn-invoke-unknown-method] on by default?

That is certainly tempting. It would hurt those who primarily want to use Kawa as "a Scheme" - i.e. a dynamic language that can execute existing Scheme code, and who don't care that much about performance.

We could make the options the default when explicitly compiling,
but leave them off when implicitly compiling (such as when
loading a source file).

Comments?  How many people use --warn-undefined-variable
--warn-invoke-unknown-method?  For those of you who don't,
perhaps some of you could try it, and see how difficult it is
to make your code conformant?  (I also compile with --warn-as-error
to force clean builds.)  Did you catch any errors (e.g. typos)?
Did you get a noticeable speedup?
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]