Thread (14 messages) flat view 14 messages, 5 authors, 2016-06-15

Re: [PATCH] Optimize prefixcmp()

From: Marco Costalba <hidden>
Date: 2016-06-15 22:44:01

On Dec 29, 2007 8:22 PM, Johannes Schindelin [off-list ref] wrote:
        Not only does it avoid the strlen() call also for longer prefixes;
        it also avoids a C++ comment.
Avoiding a C++ comment is good ;-) sorry, it slipped to me.

What your patch does not seem to avoid is a segfault if prefix or str
are NULL pointers.


Marco
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help