-
Notifications
You must be signed in to change notification settings - Fork 787
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ill considered set construction optimization - was naively applying idea from list construction optimization to sets. Instead handle IndexedSeq case specially as this optimizes hash-set as well as small PersistentVector case. Otherwise just loop/recur reduce on a transient set with appropiate type hinting.
- Loading branch information
1 parent
50d75eb
commit 95d92ba
Showing
2 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters