Skip to content

Make MAX_SKIP_LEVEL, MAX_QSORT_SPLITS and MAX_QSORT_PARTITION configurable - #95

Open
xiaoxiang781216 wants to merge 2 commits into
j256:masterfrom
xiaoxiang781216:level
Open

Make MAX_SKIP_LEVEL, MAX_QSORT_SPLITS and MAX_QSORT_PARTITION configurable#95
xiaoxiang781216 wants to merge 2 commits into
j256:masterfrom
xiaoxiang781216:level

Conversation

@xiaoxiang781216

Copy link
Copy Markdown
Contributor

by moving from chunk_loc.h to settings.dist

by moving from chunk_loc.h to settings.dist

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id174656f9874e3930b586f29b8d7aaa66436c9f5
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I30d99079ebbda0c9f276122cc5d07b8d03e264dd
Comment thread dmalloc_tab_loc.h
#define MAX_QSORT_PARTITION 8

/* comparison function */
typedef int (*compare_t)(const void *element1_p, const void *element2_p);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this never used?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants