diff options
author | Stephen Toub <stoub@microsoft.com> | 2018-07-17 06:00:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 06:00:11 -0700 |
commit | 624f72d55a92e49aef3c3cd6e69150fa3b085fac (patch) | |
tree | 06268bcf868d43852f411a3cca548cfd8facdebd /src/jit/lclvars.cpp | |
parent | f22e633a63c3fb2bc2c69110aa3deab350d98ad9 (diff) | |
download | coreclr-624f72d55a92e49aef3c3cd6e69150fa3b085fac.tar.gz coreclr-624f72d55a92e49aef3c3cd6e69150fa3b085fac.tar.bz2 coreclr-624f72d55a92e49aef3c3cd6e69150fa3b085fac.zip |
Improve throughput of {U}Int32/64.{Try}Parse for hex (#18952)
* Improve throughput of {U}Int32/64.{Try}Parse for hex
- Copies/modifies the recently added TryParse32/64IntegerStyle routines for hex in order to provide more optimized parsing.
- Since AllowHexSpecifier can't be used with any other styles (other than allowing leading/trailing whitespace), deletes existing code paths for parsing hex.
- As I was copying code around, I kept getting bitten by different names used for the same thing, so I also standardized some parameter names in various helper functions.
* Clean up
- Remove a bunch of unnecessary 'unsafe' keywords
- Rephrase some while(true) loops as do/while loops for consistency and to avoid some repetition
- Remove an unnecessary wrapper function
Diffstat (limited to 'src/jit/lclvars.cpp')
0 files changed, 0 insertions, 0 deletions