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

1221:    ","));    }    -  function(string:Event) `-> = `[]; +  Event `-> (string s) {return `[] (s);}    Event `[](string s)    {    if (!id2event) id2event=mkmapping(events->id,events);