ayebear/picoes

Should not check first component type in query for better performance

Closed this issue · 0 comments

const iter = this.accessIndex(componentNames[0]).values()

Change this to a shift() instead, to remove the first component name from the query. It's already a Map so iterating through its values already means it is guaranteed to have this component.