Instead of allocating memory for each single object, this library allocates memory for a bunch of objects. The memory can be released or reused, if all objects of the bunch have been released.
- reduces time spent in malloc
- may waste memory
| Release Version | Release Notes | AI Documentation |
|---|---|---|
| RELEASENOTES | DeepWiki for mulle-bunchobjects |
| Requirement | Release Version | Description |
|---|---|---|
| objc-compat | π Glue for Objective-C code to support different Foundations | |
| mulle-core | π Almagamated library of mulle-core + mulle-concurrent + mulle-c |
Use mulle-sde to add mulle-bunchobjects to your project:
mulle-sde add github:MulleFoundation/mulle-bunchobjectsUse mulle-sde to build and install mulle-bunchobjects and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/MulleFoundation/mulle-bunchobjects/archive/latest.tar.gzInstall the requirements:
| Requirements | Description |
|---|---|
| objc-compat | π Glue for Objective-C code to support different Foundations |
| mulle-core | π Almagamated library of mulle-core + mulle-concurrent + mulle-c |
Download the latest tar or zip archive and unpack it.
Install mulle-bunchobjects into /usr/local with cmake:
PREFIX_DIR="/usr/local"
cmake -B build \
-DMULLE_SDK_PATH="${PREFIX_DIR}" \
-DCMAKE_INSTALL_PREFIX="${PREFIX_DIR}" \
-DCMAKE_PREFIX_PATH="${PREFIX_DIR}" \
-DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config ReleaseNat! for Mulle kybernetiK