Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Bijective base-26

$
0
0
Ran another test and GetColumnNumberFromLetter is actually an order of magnitude faster if you take out the checks that FromBijectiveBase26 doesn't perform...

Test 1 column (A-Z)
Took: 0.0390483 secs

Test 2 columns (AA-ZZ)
Took: 0.0819978 secs

Test 3 columns (AAA-XFD)
Took: 0.1435579 secs

That said, it still falls under the "it doesn't matter" category =)

So we'll keep using GetColumnNumberFromLetter and implement the new ToBijectiveBase26.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>