mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-16 10:49:13 +08:00
When realloc a bigger space and the next node is free and big enough, we should directly relocate the next node instead of doing alloc/memcpy. The new method not only faster in this cases, it would avoid memory fragment as well.
Description
Languages
C
97.6%
Assembly
1.9%
Python
0.3%
HTML
0.1%