-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
8.xIssues and PRs for version 8.xIssues and PRs for version 8.x
Description
Based off of a comment here
At one point, there was some performance advantage to having mapTo, concatMapTo, switchMapTo, et al. Because they introduced a way to map to the same value over and over again, without introducing a closure.
Now:
- Closures are much faster.
- Therefor the whole library is written in such a way that is uses closures.
Considering that mergeMapTo(x) and mergeMap(() => x) do pretty much the same thing, only one is hiding the closure, I thikn we should deprecate the MapTo variants to help clean up the core API.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
8.xIssues and PRs for version 8.xIssues and PRs for version 8.x