Timeline for Comparing std::vector<bool> to std::vector<char>
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 21, 2016 at 14:49 | vote | accept | Edward | ||
Jan 27, 2016 at 14:42 | comment | added | Edward |
Thanks for the review! It's true that testfunc and TEST are generic names; it's because I used them all the time when doing comparative timing tests like this. As for the magic number 13, yes, it's arbitrary and the whole arbitrary function could definitely use a comment's worth of explanation. It is indeed only one very specific pattern; what I'd like is a method by which I could come to some conclusions about when to use std::vector<bool> and when to use std::vector<char> .
|
|
Jan 27, 2016 at 6:07 | history | answered | Jerry Coffin | CC BY-SA 3.0 |