From 20632d9b5475ae085bef39f3b010b77eaf007001 Mon Sep 17 00:00:00 2001 From: PopSlime Date: Sat, 19 Nov 2022 22:05:51 +0800 Subject: [PATCH] Fix performance optimization for RMVPool. --- Assets/Cryville/Crtr/Event/RMVPool.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Cryville/Crtr/Event/RMVPool.cs b/Assets/Cryville/Crtr/Event/RMVPool.cs index f5f104d..941a13b 100644 --- a/Assets/Cryville/Crtr/Event/RMVPool.cs +++ b/Assets/Cryville/Crtr/Event/RMVPool.cs @@ -20,7 +20,7 @@ namespace Cryville.Crtr.Event { _buckets.Add(reg.Key, new Bucket(reg.Key, 4096)); } - readonly Dictionary _rented = new Dictionary(); + readonly Dictionary _rented = new Dictionary(); public RealtimeMotionValue Rent(Identifier name) { var n = name; var obj = _buckets[n].Rent();