1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-23 07:59:03 +00:00
Files
nmap/zenmap/zenmapCore
dmiller 55c7fb605f Improve performance of StringPool.unique
This saves a function call by using subclassing dict instead of using a
real dict. When a cache hit occurs, there is no overhead beyond a
standard dict lookup, which in most implementations is very fast. Cache
miss is similar performance to previous.

Also added a unittest for this functionality.
2014-01-15 15:37:25 +00:00
..
2014-01-08 19:50:22 +00:00
2014-01-08 19:50:22 +00:00
2014-01-08 19:50:22 +00:00