File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
eng/StackExchange.Redis.Build Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,8 @@ switch (key.Length)
5555
5656The switch on the ` Length ` is optional, but recommended - these low values can often be implemented (by the compiler)
5757as 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
6060Note that ` switch ` requires ` const ` values, hence why we use generated * types* rather than partial-properties
6161that 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.
You can’t perform that action at this time.
0 commit comments