Breaking LeetCode: Roman to Integer

I had two solutions to Roman to Integer that are, line for line, the same algorithm. One “beats 98%” on runtime. The other beats about 40%…