Branch: Tag:

2008-11-04

2008-11-04 15:49:23 by Martin Stjernholm <mast@lysator.liu.se>

Ported fix from 7.4: Don't use variables to create function aliases. (They
don't cause garbage in 7.6 and later, but they're still slow and makes the
objects unnecessarily large.)

Rev: lib/modules/Calendar.pmod/Event.pmod:1.25
Rev: lib/modules/Calendar.pmod/Events.pmod:1.20
Rev: lib/modules/Calendar.pmod/TimeRanges.pmod:1.36
Rev: lib/modules/Calendar.pmod/Timezone.pmod:1.45

375:   {    return ::`[](s) || magic_event(s);   } - function `-> = `[]; + program|Event.Event `-> (string s) {return `[] (s);}      // Don't load Geogrphy.Countries unless we have to   object country_lookup=0;