Jinntec / Fore

Fore - declarative user interfaces in plain HTML
MIT License
82 stars 11 forks source link

Improve performance of resolveId by optimizing for common case #190

Closed DrRataplan closed 1 year ago

DrRataplan commented 1 year ago

The common case is that there's just one element with said ID. If there is, just return that one and skip the whole repeat algorithm.