sklose / NCalc2

expression evaluator for .NET with built-in compiler
MIT License
166 stars 58 forks source link

Using OrdinalIgnoreCase instead of ToLower() checks. #68

Closed Bykiev closed 2 years ago

Bykiev commented 2 years ago

Using OrdinalIgnoreCase instead of ToLower() checks. It's the preferred way for comparing strings, also it could improve permorfmance.

Bykiev commented 2 years ago

@sklose, can you please review it?

sklose commented 2 years ago

looks good, thanks for your contribution @Bykiev

Bykiev commented 2 years ago

Thank you!