If this is a memory leak (which I strongly suspect...
# general
b
If this is a memory leak (which I strongly suspect), it takes long enough that just recycling the nailgun every 100 or so targets would probably fix it, and it also wouldn't be enough overhead to be noticable