IMO only small portion of code (say 20%) of a non-trival program will be actively used. The extra time needed for loading scripts that will seldom used is wasteful. Perhaps you may defer to pre-parse stage to the first execution of explicait definition. Timing benchmark is helpful here.
I worry the extra space allocated that will not freed, a promise would be affect expressions that involving no nouns (other than primitive nouns a. a:) Since this is an implementation detail, not a language feature, I think it should be turn on/off by a global parameter. Пн, 20 июн 2016, Henry Rich написал(а): > It occurs to me that in explicit definitions, parenthesized expressions that > contain only primitives could be parsed at definition time and replaced with > a single word in the queue. This would save parsing time during execution. > The only downside I can see is that something like (<1000 1000 $ a:) would > tie up a lot of memory - maybe I would have to check for that. > > Any other objections? > > Henry > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm