On Sat, Mar 04, 2017 at 08:12:41AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > Hi, > > The following patch series use the gnu hash to speedup device/driver > matching. > > String compare is slow so we will calculate at runtime a hash that we > can compare quickly to speed up the match > > in a second step we could speed up this more by calculating the hash > at compile time On a i.MX53 quickstart board this patch reduces startup time from 115.9ms to 115.4ms. On a i.MX35 board the startup time is reduced by 72us. I don't think this is a valuable gain. Do you have any situation where you really spend significant time in strcmp? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox