Skip to content

Commit 26a4a62

Browse files
committed
tyop
1 parent b14934d commit 26a4a62

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

eng/StackExchange.Redis.Build/FastHashGenerator.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,8 @@ switch (key.Length)
5555

5656
The switch on the `Length` is optional, but recommended - these low values can often be implemented (by the compiler)
5757
as a simple jump-table, which is very fast. However, switching on the hash itself is also valid. All hash matches
58-
must also perform a sequence equality check - the `Is` convenient method validates both hash and equality.
58+
must also perform a sequence equality check - the `Is(hash, value)` convenience method validates both hash and equality.
5959

6060
Note that `switch` requires `const` values, hence why we use generated *types* rather than partial-properties
6161
that emit an instance with the known values. Also, the `"..."u8` syntax emits a span which is awkward to store, but
62-
easy to return via a property.~~~~
63-
64-
65-
62+
easy to return via a property.

0 commit comments

Comments
 (0)