Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Thiez
on Jan 4, 2022
|
parent
|
context
|
favorite
| on:
Faster IndexOf for Substrings in .NET
Ordinal compares the literal bytes. The other comparison variants have additional features, e.g. case-insensitivity.
efdee
on Jan 4, 2022
[–]
Ordinal can also be case insensitive.
Thiez
on Jan 4, 2022
|
parent
[–]
I disagree. Like, you have `StringComparison.Ordinal`, which is case sensitive, and `StringComparison.OrdinalIgnoreCase`, which is indeed case insensitive, but it's a separate thing.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: