You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See if replacing push loop in from by _from_array([...iterable]) is faster (optimize?).NO (because we do not want to keep two copies of the data simultaneously)
See if implementing this.append(iterable) as this.concat(from(..., iterable)) improves performance.
Plan:
from,prepend, andappend._from_arraysimilar to_from_small_listbut recurse whenarray.length >= 12._from_iterableas an iterative version of_from_array(see Optimize tree construction #108 (comment)).See if replacing push loop inNO (because we do not want to keep two copies of the data simultaneously)fromby_from_array([...iterable])is faster (optimize?).this.append(iterable)asthis.concat(from(..., iterable))improves performance.prepend.