From 3b7ecc8d32b4a872504dcdb81ed765a1c0028822 Mon Sep 17 00:00:00 2001 From: IntegratedQuantum Date: Thu, 31 Jul 2025 15:30:57 +0200 Subject: [PATCH] Remove TODO, it was already an issue #318 --- src/utils.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.zig b/src/utils.zig index 1fc23fe4..9d287530 100644 --- a/src/utils.zig +++ b/src/utils.zig @@ -1184,7 +1184,7 @@ pub fn PaletteCompressedRegion(T: type, size: comptime_int) type { // MARK: Pale var impl = self.impl.raw; std.debug.assert(impl.paletteLength <= impl.palette.len); var paletteIndex: u32 = 0; - while(paletteIndex < impl.paletteLength) : (paletteIndex += 1) { // TODO: There got to be a faster way to do this. Either using SIMD or using a cache or hashmap. + while(paletteIndex < impl.paletteLength) : (paletteIndex += 1) { if(std.meta.eql(impl.palette[paletteIndex].load(.unordered), val)) { break; }