In most situations, optimized commercial or shareware libraries perform standard computational procedures far more efficiently than you could by coding them by hand.
For example, the Sun Performance Library(TM) is a suite of highly optimized mathematical subroutines based on the standard LAPACK, BLAS, FFTPACK, VFFTPACK, and LINPACK libraries. Performance improvement using these routines can be significant when compared with hand coding.