Why is function isprefix faster than Startswith in C#?

前端 未结 4 696
一生所求
一生所求 2021-02-04 03:10

Does anyone know why C# (.NET)\'s StartsWith function is considerably slower than IsPrefix?

4条回答
提交回复
热议问题