Skip to content

v1.0.0

Compare
Choose a tag to compare
@spaskalev spaskalev released this 09 Oct 13:01
· 31 commits to main since this release
95ce902

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 an unsigned char that ranges between 0 and 255 and no float types are used. This way fragmentation can be reported when used in environments that don't support the float type.

Internal changes:

  • A static inline two_to_the_power_of helper function that returns size_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.