[Top][All Lists]

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

Re: [Chicken-users] valgrind - more details

From: Jörg F . Wittenberger
Subject: Re: [Chicken-users] valgrind - more details
Date: 05 Oct 2011 23:11:18 +0200

On Oct 5 2011, Jörg F. Wittenberger wrote:

I found two occurrences of strlen (C_strlen that is), which would
for no good reason scan the memory while the result could be computed
by simple pointer arithmetic:

@@ -7519,19 +7515,19 @@
    errno = 0;

Sorry.  Somehow cut&paste made a mess out of the diff citations.
Gladly I appended the full diff.

But note: this change only removes unnecessary complexity from
the code.  The code itself is sill somewhat incomprehensible to me.
I'm not sure that I'm in a position to supply incremental improvements

Best regareds


reply via email to

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