v1.0.0
External changes:
buddy_walk
callback is now invoked for free slots in addition to allocated ones and has an extra parameter to distinguish between free and allocated.buddy_fragmentation
return type is now anunsigned char
that ranges between 0 and 255 and nofloat
types are used. This way fragmentation can be reported when used in environments that don't support thefloat
type.
Internal changes:
- A static inline
two_to_the_power_of
helper function that returnssize_t
is used in place of manual power of two calculations. - The fast square root algorithm used in the fragmentation formula has been replaced with an integer square root algorithm by Martin Guy, 1985.
Misc:
Two years and nine months have passed since this project started and it has now reached the 1.0.0
milestone. Thanks to all contributors and users for their interest in it.