ENH - some minor suggestions for speedup#47
ENH - some minor suggestions for speedup#47schoffelen wants to merge 3 commits intotreder:masterfrom
Conversation
|
Hi @schoffelen , first of all sorry for getting back on this so late! All well hope same for you. Thank you for the code, I did some benchmarking and just want to share the results. I used the following toy data: I ran Here, PR needs 71% of MVPA-Light time - PR is faster PR needs 110% of MVPA-Light time - slower PR needs 291% of MVPA-Light time - slower So it looks like a good speed-up for large number of classes but you pay a price when the number of classes is small. Can we get best of both worlds somehow? |
|
On the Using tic-tic with 20 iterations: MVPA-Light: 0.6983s MVPA-Light: 0.6993 MVPA-Light: 4.9714 So PR seems always faster, should definitely go for this one. |
|
Hi @treder now it's my time to apologize for my slowness. Thanks for looking into this in much more detail than I had... |
|
Yes this should work. It could be a flag called Alternatively I can discard the PR and push the changes myself, whichever you prefer. |
|
Hi @treder I am on the road at the moment (in a different time zone), and tried to do some git voodoo (basically to rebase the PR against the master, but not much happened). I wouldn't mind to do some work on this, but perhaps if you're OK with discarding the PR and push the changes yourself, that would be great (but only if it would take you 5 minutes to do it) |
|
OK will do. I've uploaded the |
Hi @treder, I hope all is well. This PR intends to push a few changes for speed improvement, which I implemented a while ago, and which I don't want to lose track of. Feel free to ignore, if you don't think it fits