[if gte mso 9]>
Subject: Re: [edk2] MdePkg: Enhance CompareGuid performance by using CompareMem instead of nested unaligned read calls
From: "Kinney, Michael D" <email@example.com>
To: "firstname.lastname@example.org" <email@example.com>
Date: 2012-05-30 00:17:57
Did you compare the performance of the current and proposed solutions? An optimizing compiler inlines all of these so I think the current code should be faster on CPUs that support unaligned accesses.
Corrected patch, sorry for the inconvenience.
Dear MdePkg Maintainer,
Currently CompareGuid uses ReadUnaligned64 calls which in turn call unaligned 32 and 16 bit calls which is time consuming. This patch replaces those calls with a single call to CompareMem.
MdePkg: Enhance CompareGuid performance by using CompareMem instead of nested unaligned read calls
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen firstname.lastname@example.org