mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-23 12:03:24 +00:00
Avoid using the external command grep for simple string-based checks. Prefer a case statement. This improves performance. The performance improvement is moderate but noticeable when skipping most tests. When a test is run, the cost of the associated grep calls is negligible. In this commit, I focused on the uses of grep that can be easily replaced and that are executed a large number of times. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>