keep working on PLN facotrize

This commit is contained in:
Youmu Liu
2025-12-25 11:59:40 +08:00
parent 3b3a90a2af
commit e5539bcc6d
12 changed files with 123 additions and 76 deletions
@@ -1,4 +1,4 @@
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// -----------------------------------------------------------------------
// file="StringHashMultiplexer"
// Project: StgSharp
@@ -71,7 +71,7 @@ namespace StgSharp.Collections
{
int hash;
fixed (char* cPtr = obj.AsSpan()) {
hash = NativeIntrinsic.Intrinsic.city_hash_simplify(cPtr, obj.Length);
hash = NativeIntrinsic.Context.city_hash_simplify(cPtr, obj.Length);
}
return hash;
}
@@ -136,7 +136,7 @@ namespace StgSharp.Collections
{
int hash;
fixed (char* cPtr = obj.AsSpan()) {
hash = NativeIntrinsic.Intrinsic.city_hash_simplify(cPtr, obj.Length);
hash = NativeIntrinsic.Context.city_hash_simplify(cPtr, obj.Length);
}
return hash;
}