Skip to content

Conversation

@xiaoxiang781216
Copy link
Contributor

@xiaoxiang781216 xiaoxiang781216 commented Apr 21, 2021

to save the code and stack space since the old implemenation allocate two big arrays(1KB) on the stack:
https://github.com/j256/dmalloc/pull/91/files#diff-0cb3c9f001135300e58db5f04e333f87d9e53ec01630836980a56f6789c11f6dL317

to save the code and stack space

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ifb00e71e97cf2b4045845ed4ed92c7d21f87db67
@j256
Copy link
Owner

j256 commented Apr 21, 2021

Sorry but this seems like a portability issue. Not going to take this.

@j256 j256 closed this Apr 21, 2021
@xiaoxiang781216 xiaoxiang781216 deleted the qsort branch April 22, 2021 02:45
@xiaoxiang781216
Copy link
Contributor Author

xiaoxiang781216 commented Apr 22, 2021

@j256 Ok, I move MAX_QSORT_SPLITS and MAX_QSORT_PARTITION to settings.dist, so the use can fine tune it:
#95

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants