Updated functions to vector format
Tested partly locally, couldn't test with BigInt because I don't have all the functions needed to compile and test. Functions changed:
- to_string
- operator=
- operator+/-
- operator>>/<<
- operator==
- operator<
I've updated the long long compare functions to be more efficient, that instead of building unnecessary BigInt objects and calling a lot of functions, get checked straight in the function.
Also I added a conversion to 2 uint64_t's if long long is 128 bit, unlikely but adds reliability.
Right, working on the fixes now, and thanks for the feedback! This is my first OS contribution so sorry if it's a bit rusty.
@OmriHab Just wanted to let you know that I've been working on the conversion part (decimal string ↔ base 264 vector) and it's almost done. I'll push the changes in a while and you then update your PR with those. I'll also review the remaining changes in your PR once I push the changes.