I was investigating why the RT generation is so slow, and I think it 
might be due to the inefficiency of the getSnapshot() method in 
CPAlgoRoutingTable.  In particular the use of Key.toString() and then 
endsWith() to determine whether they keys are valid, and the 
!keys.contains(..) condition could also be expensive.

I wonder where this might be slowing things down in the code.

Ian.

-- 
Ian Clarke                                                  [EMAIL PROTECTED]
Coordinator, The Freenet Project              http://freenetproject.org/
Founder, Locutus                                        http://locut.us/
Personal Homepage                                   http://locut.us/ian/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to