FoundryVTT-Sequencer
FoundryVTT-Sequencer copied to clipboard
Compendium.getDocuments() is extremely slow, considering using Compendium.getIndex() instead
https://github.com/fantasycalendar/FoundryVTT-Sequencer/blob/7b9799aa4453c937048497d7a7a0d0643e57fe67/src/modules/sequencer.js#L165
getDocuments() pulls the contents of the documents which means loading a lot of unnecessary data vs leveraging the index when searching for the name.