Closed Bug 1788828 Opened 2 years ago Closed 2 years ago

Stop using XPCOM to instantiate calendar classes

Categories

(Calendar :: ICAL.js Integration, task)

Tracking

(thunderbird_esr102 wontfix)

RESOLVED FIXED
106 Branch
Tracking Status
thunderbird_esr102 --- wontfix

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

(Keywords: perf)

Attachments

(1 file)

Now that libical is gone we don't need to use Cc[...].createInstance(Ci....) to create a datetime object or other types of objects. Which is good because it's very slow compared to using new CalDateTime().

Rather than replace every call to cal.create... (there are a LOT) it's easier just to replace what those functions do. The overhead of a single function call is negligible.

Target Milestone: --- → 106 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/017e5ca52313
Stop using XPCOM to instantiate calendar classes. r=leftmostcat

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: