WebKit updates

This commit is contained in:
Jarred Sumner
2022-06-01 07:27:39 -07:00
parent 3083718e3f
commit 73ec79fa8e
23 changed files with 444 additions and 175 deletions

View File

@@ -108,7 +108,7 @@ pub inline fn indexOf(self: string, str: string) ?usize {
}
// --
// This is faster when the string is found, by about 2x for a 4 MB file.
// This is faster when the string is found, by about 2x for a 8 MB file.
// It is slower when the string is NOT found
// fn indexOfPosN(comptime T: type, buf: []const u8, start_index: usize, delimiter: []const u8, comptime n: comptime_int) ?usize {
// const k = delimiter.len;