diff --git a/PersistentMap/KeyStrategies.cs b/PersistentMap/KeyStrategies.cs index 1a437a8..2efb4ac 100644 --- a/PersistentMap/KeyStrategies.cs +++ b/PersistentMap/KeyStrategies.cs @@ -85,6 +85,8 @@ public struct UnicodeStrategy : IKeyStrategy // Essential for the < and > operators to work correctly. return packed ^ unchecked((long)0x8080808080808080); } + + public bool UsesPrefixes => true; } public struct IntStrategy : IKeyStrategy @@ -101,6 +103,10 @@ public struct IntStrategy : IKeyStrategy // though standard int shifting usually works fine for direct mapping. return (long)key << 32; } + + public bool UsesPrefixes => true; + + public bool IsLossless => true; } public struct DoubleStrategy : IKeyStrategy