For small amounts of data, symbol plists are the most efficient (space and time wise) as data access gets in Emacs. Hash tables, though O(1), impose a minimum threshold of overhead before it becomes the efficient option, but this benefit won't be obvious for datasets of at least 60 or less. Since modulep! is used *a lot*, and used to determine a module's state (and state of its flags), there is a benefit to caching it. Still, this is only a read-only cache, and does not replace the `doom-modules` hash-table, which will always be the preferred interface for the rest of the module API. |
||
---|---|---|
.. | ||
cli | ||
lib | ||
doom-cli.el | ||
doom-editor.el | ||
doom-keybinds.el | ||
doom-lib.el | ||
doom-modules.el | ||
doom-packages.el | ||
doom-projects.el | ||
doom-start.el | ||
doom-ui.el | ||
doom.el | ||
packages.el |