Date: Fri, 27 Mar 2015 15:36:40 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Jilles Tjoelker <jilles@stack.nl> Cc: Eric van Gyzen <vangyzen@freebsd.org>, "current@freebsd.org" <current@freebsd.org> Subject: Re: SSE in libthr Message-ID: <CAJ-Vmomr2kV832oMcGd2OF3yXRFUGJu2DncSvG9mTbrWVgPwOA@mail.gmail.com> In-Reply-To: <20150327214057.GA3766@stack.nl> References: <5515AED9.8040408@FreeBSD.org> <20150327214057.GA3766@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, please don't try to microoptimise crap like strlen(). The TL;DR for performant high-throughput code is: if strlen() or memcpy() is the thing that's costing you the most, you're doing it wrong. -adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmomr2kV832oMcGd2OF3yXRFUGJu2DncSvG9mTbrWVgPwOA>