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]

kawa modules new default to static


I've changed to the default to be "static modules".
This means that a module-level (file-level) define
is now translated to a static field and/or method, rather
than an instance field and/or method.  I think this
slightly improves performance, and probably slightly
improves people's expectations, since this way a
module-level class that references other module-level
variables no longer needs a static link, so the class
can be a simple Java class.

A new flag --module-nonstatic (not yet documented) can
be used to get the old behavior.

See:
http://www.gnu.org/software/kawa/Module-classes.html#id2849686
--
	--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]