From c7a13538476b2a421b0d9f79c19e35f09a4b29d8 Mon Sep 17 00:00:00 2001 From: Aron Gabriel Date: Sun, 25 Jun 2023 19:56:11 +0800 Subject: [PATCH] use `std.sort.pdq()` instead of `std.sort.block()` --- zig-ecs/src/ecs/registry.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zig-ecs/src/ecs/registry.zig b/zig-ecs/src/ecs/registry.zig index 7d595fa..39c7df7 100644 --- a/zig-ecs/src/ecs/registry.zig +++ b/zig-ecs/src/ecs/registry.zig @@ -632,7 +632,7 @@ pub const Registry = struct { name.* = @typeName(types[i]); } - std.sort.block([]const u8, &names, {}, impl.asc); + std.sort.pdq([]const u8, &names, {}, impl.asc); comptime var res: []const u8 = ""; inline for (names) |name| res = res ++ name;