-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
perfThis issue is about improving performance of the implementation in generalThis issue is about improving performance of the implementation in general
Description
Plan:
- Benchmark current implementations of
from,prepend, andappend. - Implement
_from_arraysimilar to_from_small_listbut recurse whenarray.length >= 12. - Implement
_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?). - See if implementing
this.append(iterable)asthis.concat(from(..., iterable))improves performance. - Similar for
prepend.
Metadata
Metadata
Assignees
Labels
perfThis issue is about improving performance of the implementation in generalThis issue is about improving performance of the implementation in general