From 8f91867f52f96b131993a7117531f801e20a04a3 Mon Sep 17 00:00:00 2001 From: vnugent Date: Sun, 19 May 2024 11:44:30 -0400 Subject: merge core updates, AppendSmall() --- lib/VNLib.Plugins.Extensions.VNCache/src/VNCacheExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/VNLib.Plugins.Extensions.VNCache/src/VNCacheExtensions.cs b/lib/VNLib.Plugins.Extensions.VNCache/src/VNCacheExtensions.cs index c434e22..f28ea74 100644 --- a/lib/VNLib.Plugins.Extensions.VNCache/src/VNCacheExtensions.cs +++ b/lib/VNLib.Plugins.Extensions.VNCache/src/VNCacheExtensions.cs @@ -143,8 +143,8 @@ namespace VNLib.Plugins.Extensions.VNCache ForwardOnlyWriter writer = new(buffer); //Append prefix and entity id - writer.Append(Prefix); - writer.Append(entityId); + writer.AppendSmall(Prefix); + writer.AppendSmall(entityId); //Compute the simple hash of the combined values return ManagedHash.ComputeHash(writer.AsSpan(), Digest, Encoding); -- cgit