title: Should I use BigInteger rather than parsing integers from String?
body: <p>I am working with large numbers in Java. I don't know if I should <code>parse</code> <code>String</code> to <code>BigInteger</code> once, and calculate <code>mod</code> of that number, or if I should better divide that <code>String</code> into segments and <code>parse</code> those segments to <code>int</code> and calculate <code>mod</code> like that.</p>
  
  <p>I am striving for best performance. Which is the better way?</p>