Closed spoenemann closed 6 years ago
SModelIndex.all() currently builds a huge array containing all elements. In most cases this array is processed with filter and forEach. An iterator approach would be more efficient here.
SModelIndex.all()
filter
forEach
SModelIndex.all()
currently builds a huge array containing all elements. In most cases this array is processed withfilter
andforEach
. An iterator approach would be more efficient here.