|
libdivide
☆
« Back to VersTracker
|
|||||
|
Description: Optimized integer division |
|||||
| Type: Formula | Tracked Since: Dec 28, 2025 | |||||
| Links: Homepage | formulae.brew.sh | |||||
| Category: Developer tools | |||||
| Tags: c-plus-plus c performance math optimization algorithms | |||||
| Install: brew install libdivide | |||||
|
About: Libdivide is a library that replaces expensive integer division operations with faster multiplication and bitshift operations. It precomputes a 'magic number' based on the divisor, allowing the compiler to generate highly optimized code. This results in significant performance gains in scenarios involving repeated division by the same constant. |
|||||
Key Features:
|
|||||
Use Cases:
|
|||||
Alternatives:
|
|||||
| Version History | |||||
|