Timeline for Dividing a range into N sub-ranges
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 9, 2015 at 14:21 | comment | added | cr_oag | The two loop version is originally what I had (very incorrectly) written. It is in fact the fastest way to do this (I've measured). The speed differences are negligible (100-200 ms for 10 million runs), but it's still good to have the faster one in the end. I think that returning the vector of ranges is clearer. Thanks for your review. | |
Oct 8, 2015 at 2:15 | history | answered | Jerry Coffin | CC BY-SA 3.0 |