(require 'ft) only loads a file if 'ft is not in features.  However,
    it unconditionally adds '(require . ft) to current-load-list.  If you
    call a function with require a million times, this eats up 16 MB of
    memory.

This was done deliberately.  The idea is that it's useful
to record that file foo depends on file bar, even if bar
was already loaded before foo.

However, it isn't useful to record (require . bar) an additional time
in current-load-list when it's already there.  So I think the right fix
is to check with Fmember and not add it a second time.



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to