rename performance to weirdperformance, move file cache hook into module

Move fileFindDetour from main.zig into filecache.zig with its own
install/remove. Remove file_cache import and all references from
main.zig. Rename module to weirdperformance throughout (build flag,
module_name, source file, main.zig variable).
This commit is contained in:
MarcelineVQ
2026-03-24 17:48:22 -07:00
parent 979e5729bc
commit 4629ea71d6
5 changed files with 130 additions and 131 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ const module_list = [_]ModuleDesc{
.{ .name = "addonperf", .desc = "Enable addon memory/CPU profiling API", .default = false },
.{ .name = "ssemaths", .desc = "Enable UnitXP x87 math polyfill replacements (SSE)", .default = false },
.{ .name = "silicon", .desc = "Enable SSE2 math replacements (ported from libSiliconPatch)", .default = false },
.{ .name = "performance", .desc = "Enable production SSE hooks (bone, particle, glyph cache)", .default = true },
.{ .name = "weirdperformance", .desc = "Enable production performance optimizations (SSE, inflate, filecache, timer)", .default = true },
};
pub fn build(b: *std.Build) void {