git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v9] refs.c: SSE2 optimizations for check_refname_component

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 17, 2014, 17:35 UTC
Message-ID
<xmqqk38fmob4.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1402974642-13808-1-git-send-email-dturner@twitter.com>
David Turner <dturner@twopensource.com> writes:
>  git-compat-util.h  |  11 +++
>  refs.c             | 223 ++++++++++++++++++++++++++++++++++++++++++++++++-----
>  t/t5511-refspec.sh |  20 +++++
>  3 files changed, 236 insertions(+), 18 deletions(-)

Hmph, on what branch are you basing your patch? As a follow-up to your dde8a902 (refs.c: optimize check_refname_component(), 2014-06-03) I originally tried to apply it on top of it but it does not seem that the patch is based on that version; nor I have a blob 46139d2 on which the patch claims your refs.c changes are based on.

... goes and looks ...
Ahh, I think I know where it is broken.
Show 9 quoted lines
> diff --git a/refs.c b/refs.c
> index 46139d2..5c2f68b 100644
> --- a/refs.c
> +++ b/refs.c
> ...
> @@ -46,17 +49,19 @@ static int check_refname_component(const char *refname, int flags)
>  		int ch = *cp & 255;
>  		unsigned char disp = refname_disposition[ch];
>  		switch(disp) {

There is a stylo here (missing SP after "switch"), which I already have locally fixed before pushing it out on 'next'. I'll fix up this patch and try to apply.

Thanks.
Previous: David Turner
Message 2 of 2 in “refs.c: SSE2 optimizations for check_refname_component”
  1. refs.c: SSE2 optimizations for check_refname_componentDavid Turner, Jun 17, 2014
  2. Junio C HamanoJun 17, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.