Nmap Development mailing list archives

Re: [Zenmap] Slow "Open" for large files


From: Jacek Wielemborek <d33tah () gmail com>
Date: Mon, 09 Jun 2014 12:58:07 +0200

09/06/2014 12:50:01 Jay Bosamiya <jaybosamiya () gmail com>:
BTW, cStringIO is supposed to be faster than StringIO.
Should I commit the attached patch to use cStringIO whenever
possible? I found an approx 10-15 % improvement in speed in my
tests.

Why not? The interface is the same, so it's like five lines of 
code importing it and falling back to StringIO if it's not there. 
IMHO definitely worth doing.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: