Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: [PATCH] Rewrite strcasestr()
From: Kris Katterjohn <kjak () ispwest com>
Date: Sun, 05 Mar 2006 22:46:01 -0600

Fyodor wrote:
On Thu, Mar 02, 2006 at 08:08:22PM -0600, Kris Katterjohn wrote:
-rwxr-xr-x  1 kjak root 1964705 2006-03-02 19:46 nmap*
-rwxr-xr-x  1 kjak root 1964985 2006-03-02 19:38 nmap.orig*


The new one may be 180 bytes smaller and easier to read, but I think
the original would be much faster.  It doesn't need to do two memory
allocations and de-allocations for each call.


Hmm.. that makes sense. Thanks.


- Kris


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]