more determinism fixes

This commit is contained in:
Ryan Fleury
2025-09-05 15:19:29 -07:00
parent 096b631e8a
commit 4c3bb98c64
4 changed files with 291 additions and 313 deletions
+7 -2
View File
@@ -378,8 +378,13 @@ str8_is_before(String8 a, String8 b)
{
result = 1;
break;
}
if(off+1 == common_size)
}
else if(a.str[off] > b.str[off])
{
result = 0;
break;
}
else if(off+1 == common_size)
{
result = (a.size < b.size);
}