Achim Gratz <strom...@nexgo.de> writes:

>> Starting Emacs now requires ~18 seconds vs 2 seconds before.
>
> That is one of the consequences of how org.el is currently structured.

The move to using org-loaddefs.el was to optimize things within Emacs.

Before org-loaddefs.el, all Org's autoloads were added to loaddefs.el.
This had the effect of preloading too many Org's functions in a bare
"emacs -Q".

After org-loaddefs.el, only the core Org functions are added to Emacs'
loaddefs.el.

The time you spare by not preloading all autoloads in loaddefs.el is
lost when you require org for the first time -- either in your config
or by simply finding a new .org file.

But on the overall, I think it's cleaner that way.

The next step to optimize things a bit is to have less autoloads
in org-autoloads.el... any suggestion is welcome in this area!

-- 
 Bastien

Reply via email to