upbeat27 2a81abf0f4 Optimize checking for default instance
LWMEM_GET_LW is used almost everywhere, when it really only needs to reassign the instance once in each higher level function.
After the reassignment, the correct instance will be used in all subsequent lower level functions.
2022-03-14 10:10:00 -07:00
2022-01-14 23:07:44 +01:00
2022-03-04 11:46:40 +01:00
2019-04-21 01:34:12 +02:00
2021-12-13 09:40:04 +01:00
2021-12-09 09:24:19 +01:00
2022-01-30 10:06:37 +01:00
2022-01-18 22:35:33 +01:00
2022-01-13 20:56:29 +01:00
2022-01-14 23:07:44 +01:00
2022-01-08 16:12:49 +01:00

Lightweight dynamic memory manager

Read first: Documentation

Features

  • Written in ANSI C99, compatible with size_t for size data types
  • Implements standard C library functions for memory allocation, malloc, calloc, realloc and free
  • Uses first-fit algorithm to search for free block
  • Supports multiple allocation instances to split between memories and/or CPU cores
  • Supports different memory regions to allow use of fragmented memories
  • Highly configurable for memory allocation and reallocation
  • Supports embedded applications with fragmented memories
  • Supports automotive applications
  • Supports advanced free/realloc algorithms to optimize memory usage
  • Operating system ready, thread-safe API
  • C++ wrapper functions
  • User friendly MIT license

Contribute

Fresh contributions are always welcome. Simple instructions to proceed::

  1. Fork Github repository
  2. Respect C style & coding rules used by the library
  3. Create a pull request to develop branch with new features or bug fixes

Alternatively you may:

  1. Report a bug
  2. Ask for a feature request
Languages
C 90.3%
C++ 5.9%
CMake 3.8%