Re: RFC: Add BaseLib/QuickSort in MdePkg
Chan, Amy <amy.chan@...>
Just to double confirm, will we have the null instance of QuickSort in MdePkg?
Regards, Amy
From: gaoliming <gaoliming@...>
Sent: Thursday, September 16, 2021 10:23 AM To: 'Andrew Fish' <afish@...>; 'edk2-devel-groups-io' <devel@edk2.groups.io> Cc: Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>; 'Gao, Liming' <liming.gao@...>; Liu, Zhiguang <zhiguang.liu@...>; Wang, Jian J <jian.j.wang@...>; Gao, Zhichao <zhichao.gao@...>; Chan, Amy <amy.chan@...> Subject: 回复: [edk2-devel] RFC: Add BaseLib/QuickSort in MdePkg
Andrew: Thanks for your suggestion. I think your idea is better. We add new QuickSort() API to BaseLib, and update SortLib library instance to consume BaseLib QuickSort() API. This way has no change in current SortLib library class. It is the compatible solution.
Thanks Liming 发件人:
Andrew Fish <afish@...>
If we add QuickSort() API to the BaseLib can we not just port the existing MdeModulePkg/SortLib to use QuickSort() in the implementation? Or is there some other way to add the new thing in a backward compatible way.
Thanks,
Andrew Fish
|
|