chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Replace unsafe string functions with their


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Replace unsafe string functions with their safer counterparts
Date: Tue, 4 Feb 2014 19:24:16 +0100
User-agent: Mutt/1.4.2.3i

On Tue, Feb 04, 2014 at 11:05:48AM -0500, John Cowan wrote:
> Peter Bex scripsit:
> 
> > Yes, that's fine. I'm tired of arguing about this, and I know I can't
> > win.  I prefer getting the patch in over arguing about it, and nobody
> > else seems to have an opinion about this.
> 
> I do, actually.

Sorry, too late.

> The trouble with this code is that it copies a byte
> at a time, and so may be much less efficient than existing library
> versions

What, like the original code from OpenBSD libc that Christian posted,
and which also works a byte at a time?

> which do it smart, a 32-bit or 64-bit word at a time with
> adjustments.  I would like to see some measurements on at least
> a few platforms before we install this vanilla code.

Patches are welcome.

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]