[ 原始碼: libdivide ]
套件:libdivide-dev(3.0-1)
compile-time library for optimizing integer division
libdivide allows you to replace expensive integer divides with comparatively cheap multiplication and bitshifts. Compilers usually do this, but only when the divisor is known at compile time. libdivide allows you to take advantage of it at runtime. The result is that integer division can become a lot faster.