Skip to content

note to author: consider one time dynamic allocation for sorted commands and keep them allocated on heap #2

@JZimnol

Description

@JZimnol

Consider removing pfs_get_core_commands_sorted_by_name_dynamic and other *_dynamic functions and sort command (and subcommands) on dynamically allocated array of commands during the shell initialization to avoid constant heap fragmentation.

Consider removing built-in qsort and write more light implementation of sorting algorithm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions