Speed up batch ADD and better bechmark

Now I flush only when the file is full and I check the the currently
used file if it is big enough.

So I dont get stat of all files and flush everytime like before
This commit is contained in:
2025-01-07 13:55:02 +01:00
parent e3264d8553
commit 2a4842432d
5 changed files with 113 additions and 58 deletions
+1
View File
@@ -1,6 +1,7 @@
// This file is just to expose what I need to grab
pub const UUID = @import("uuid.zig").UUID;
pub const Zero = @import("uuid.zig").zero;
pub const DateTime = @import("date.zig").DateTime;
pub const OR = @import("uuid.zig").OR;
pub const AND = @import("uuid.zig").AND;