Using the standard libraries, would make the code more functional. This blog is to illustrate what are each of the function for and not on how it performs agains the normal approach.
Hopefully one day, would see someone could compare the bytecode generated for them.
For real performance critical piece, it would be best to go to something more native, like C++ and Assembler.