Bug #86106 Replace my_qsort with std::sort

Submitted: 27 Apr 2017 9:13 Modified: 4 May 2017 12:22
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.2 OS:Any
Assigned to: CPU Architecture:Any

[27 Apr 2017 9:13] Steinar Gunderson
Description:
std::sort is about twice as fast as my_qsort (probably more in some cases). We should replace my_qsort and my_qsort2 with std::sort and/or std::stable_sort wherever we can.

How to repeat:
N/A

Suggested fix:
N/A
[4 May 2017 12:22] Paul DuBois
Posted by developer:
 
Fixed in 8.0.2.

Code cleanup. No changelog entry needed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.