Introduced the option MEM_USE_POOLS to use 4 pools with different sized elements instead of a heap. This both prevents memory fragmentation and gives a higher speed at the cost of more memory consumption. Turned off by default.

This commit is contained in:
goldsimon
2007-06-21 20:12:11 +00:00
parent 065b8c945b
commit 0c18e653e8
6 changed files with 171 additions and 11 deletions

View File

@@ -19,6 +19,12 @@ HISTORY
++ New features:
2007-06-21 Simon Goldschmidt
* mem.c, memp.c, mem.h, memp.h, opt.h: task #6863: Introduced the option
MEM_USE_POOLS to use 4 pools with different sized elements instead of a
heap. This both prevents memory fragmentation and gives a higher speed
at the cost of more memory consumption. Turned off by default.
2007-06-21 Simon Goldschmidt
* api_lib.c, api_msg.c, api.h, api_msg.h: Converted the length argument of
netconn_write (and therefore also api_msg_msg.msg.w.len) from u16_t into