Cleaned some code, drastically reduced memory footprint.

This commit is contained in:
2021-09-05 15:02:02 -07:00
parent d43c582629
commit ae16d5438b
19 changed files with 263 additions and 108 deletions

View File

@ -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;