faster & type stable `invperm` and `isperm` for tuples shorter that 16 elements #35234
Make `invperm` much faster, and type stable for tuples
af89d519
added warning about trick for type stability
5bc733de
removed `isperm` call
6251aa45
removed unnecessary return
c92786eb
added faster `isperm`
e4893335
francescoalemanno
changed the title Make `invperm` much faster, and type stable for tuples Make `invperm` and `isperm` much faster, and type stable for tuples 6 years ago
removed inbounds, unnecessary
cadf32ce
faster isperm
367e23ad
switch `isperm` algorithm if N>21
e8351ba9
fix whitespace
cc5cc9a1
this should fix tests, hopefully
0f1c660f
use afoldl version of invperm
64c9cddf
fix doctest: isperm
09c4948e
use _foldoneto, much faster for small tuples
10caca55
tkf
commented
on 2020-03-26
Update base/combinatorics.jl
1aed211c
add cutoffs for bigger tuples
fa3b0ddb
randomized estensive testing
3e3814db
remove whitespace
0d919198
fixed cutoff
8f1f3e50
+ type assert, so that type stability is guaranteed
bacfe7f6
francescoalemanno
changed the title Make `invperm` and `isperm` much faster, and type stable for tuples make `invperm` and `isperm` faster & type stable for `NTuple{N < 16}` 6 years ago
francescoalemanno
changed the title make `invperm` and `isperm` faster & type stable for `NTuple{N < 16}` faster & type stable `invperm` and `isperm` for tuples shorter that 16 elements 6 years ago
removed type annotation
052df1f4
tkf
approved these changes
on 2020-03-27
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub