Parsing Performance (If, TryParse, Try-Catch)

后端 未结 5 1834
抹茶落季
抹茶落季 2020-11-27 19:00

I know plenty about the different ways of handling parsing text for information. For parsing integers for example, what kind of performance can be expected. I am wondering i

5条回答
  •  情深已故
    2020-11-27 19:26

    Here's another chap who's also profiled the performance differences, and does so with a few different data types to see how much (if at all) they inherently affect the performance: int, bool, and DateTime.

提交回复
热议问题