回复: [edk2-devel] RFC: Add BaseLib/QuickSort in MdePkg

2021-09-28 Thread gaoliming
> >> > > > >> > > The purpose of the optional BufferOneElement is to ease > >> consumer’s > >> > > life assuming most of the time the element size should be > >> > smaller than > >>

回复: [edk2-devel] RFC: Add BaseLib/QuickSort in MdePkg

2021-09-25 Thread gaoliming
t; Sent: Thursday, September 16, 2021 10:23 AM To: 'Andrew Fish' mailto:af...@apple.com> >; 'edk2-devel-groups-io' mailto:devel@edk2.groups.io> > Cc: Ni, Ray mailto:ray...@intel.com> >; Kinney, Michael D mailto:michael.d.kin...@intel.com> >; 'Gao, L

回复: [edk2-devel] RFC: Add BaseLib/QuickSort in MdePkg

2021-09-15 Thread gaoliming
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 发件人: Andr

回复: [edk2-devel] RFC: Add BaseLib/QuickSort in MdePkg

2021-09-15 Thread gaoliming
Ray: SortLib has been added since 2015. I would suggest to still keep this library class. To resolve the package dependency, my proposal is to move the library class header file SortLib.h from MdeModulePkg to MdePkg, and still keep the library instance in MdeModulePkg. This proposal has no impact