-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Range tests: scale sizes according to a policy #2081
base: main
Are you sure you want to change the base?
Conversation
I do think I like this version better, it does things more concisely in the tests themselves, without having to call the same API multiple times. This PR also touches all the ranges tests, which is nice (though perhaps is something which could be done for the other strategy as well). |
|
||
namespace test_std_ranges | ||
{ | ||
|
||
inline constexpr std::size_t big_sz = (1<<25) + 10; //32M | ||
inline constexpr int big_sz = (1<<24) + 10; //16M |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was 32M before.... What's a reason to changes it to 16M?
Don't we whether make test coverage worse?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no specializations for more than 16M elements. So the coverage remains the same.
An approach alternative to #2078 (suggested in #2078 (comment))