Cleaned some code, drastically reduced memory footprint.
This commit is contained in:
1 parent
d43c582629
commit
ae16d5438b
19 files changed
+263
-108
No files matched your search
+2
-2
@@ -81,8 +81,8 @@ void listRemoveEntry(list_t *list, listentry_t *entry, bool freeData) {
|
||||
listentry_t * listGetByIndex(list_t *list, uint32_t index) {
|
||||
if(index >= list->size) return NULL;
|
||||
|
||||
//TODO: We can probably make this more efficient by deciding which way we
|
||||
//should loop from based on the list size.
|
||||
// TODO: We can probably make this more efficient by deciding which way we
|
||||
// should loop from based on the list size.
|
||||
|
||||
uint32_t i = 0;
|
||||
listentry_t *previous = list->start;
|
||||
|
||||
Reference in new issue
Block a user