You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constexpr auto limit = cista::generic_string<>::short_length_limit;
using string = cista::raw::string;
auto size_m3 = string("", limit - 3).size();
auto size_m1 = string("", limit - 1).size();
auto size_m0 = string("", limit - 0).size();
auto size_p0 = string("", limit + 0).size();
auto size_p1 = string("", limit + 1).size();
auto size_p3 = string("", limit + 3).size();
Everything above small-optimization limit gives "right size", i.e.: size_p1 is 16 and size_p3 is 18, whereas non-heaps gives 0.
Would be nice to get consistent behavior here.
Continuing from: #189
Consider this:
Everything above small-optimization
limit
gives "right size", i.e.:size_p1
is 16 andsize_p3
is 18, whereas non-heaps gives 0.Would be nice to get consistent behavior here.
...be sparkled 🥳 by an idea from: #187 (comment)
The text was updated successfully, but these errors were encountered: