Closed pneuvial closed 2 years ago
This looks very suboptimal:
https://github.com/pneuvial/sanssouci.python/blob/29e99a35eeea673eb4802fe9bf6ee4b12c49011b/sanssouci/post_hoc_bounds.py#L41-L44
thr = thr[np.argsort(thr)]
thr = np.sort(thr)
Is there any good reason not to replace the above lines by
?
No good reason found!
Will be addressed by #40
This looks very suboptimal:
https://github.com/pneuvial/sanssouci.python/blob/29e99a35eeea673eb4802fe9bf6ee4b12c49011b/sanssouci/post_hoc_bounds.py#L41-L44
thr = thr[np.argsort(thr)]
is probably more expensive thanthr = np.sort(thr)
Is there any good reason not to replace the above lines by
?