An open API service indexing awesome lists of open source software.

https://github.com/sunsetquest/fast-biginteger-to-binarystring-and-benchmarks

This project was to test several other BigInteger to Binary String methods and then to build my own. Of the ones that I test this one is about 5X faster then any other out there. It also supports zero and negative numbers. The function is fast because: (1) it minimally allocates memory (2) does not make many calls to other functions, and (3) carefully copies over bit to byte with as minimal work as possible.
https://github.com/sunsetquest/fast-biginteger-to-binarystring-and-benchmarks

Last synced: 8 months ago
JSON representation

This project was to test several other BigInteger to Binary String methods and then to build my own. Of the ones that I test this one is about 5X faster then any other out there. It also supports zero and negative numbers. The function is fast because: (1) it minimally allocates memory (2) does not make many calls to other functions, and (3) carefully copies over bit to byte with as minimal work as possible.

Awesome Lists containing this project

README

          

# StackOverflow - BenchmarkBigIntegerToBinaryString