login
Header Space

 
 

Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL characters

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Tommy Thorn <tommy-git@...>, <git@...>
Date: Friday, May 16, 2008 - 10:03 am

On 5/16/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

In my experience, fgetc() is pretty fantastically slow because you
have a function call for every byte (and, I gather, modern libc does
thread locking for every fgetc).  It's usually much faster to fread()
into a buffer and then access the buffer.  I don't know if that's
appropriate (or matters) here, though.

Have fun,

Avery
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git bug: rebase fatal failure, Tommy Thorn, (Thu May 15, 3:27 am)
Re: git bug: rebase fatal failure, Johannes Schindelin, (Fri May 16, 6:41 am)
Re: git bug: rebase fatal failure, Johannes Schindelin, (Fri May 16, 7:01 am)
[PATCH] mailsplit and mailinfo: gracefully handle NUL charac..., Johannes Schindelin, (Fri May 16, 9:03 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ch..., Johannes Schindelin, (Thu May 22, 6:38 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ch..., Johannes Schindelin, (Fri May 23, 7:21 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ch..., Avery Pennarun, (Fri May 16, 10:03 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ch..., Johannes Schindelin, (Fri May 16, 10:32 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ch..., Johannes Schindelin, (Fri May 16, 7:59 pm)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ch..., Stephen R. van den Berg, (Sat May 17, 6:07 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ch..., Johannes Schindelin, (Sat May 17, 6:18 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ch..., Johannes Schindelin, (Fri May 16, 8:26 pm)
speck-geostationary