开发者

Binary string comparison/sort vs Dictionary string comparison/sort [closed]

开发者 https://www.devze.com 2023-01-27 10:42 出处:网络
开发者_StackOverflow As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will like
开发者_StackOverflow As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

what is other difference than performance ?

cheers, /Marcin


Well it depends on the sorting technique and how big the strings are. The other different other than performance would be the memory usage. Dictionary one will use more memory depending on the size of the string.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号