Have you tested it on a tree with a 2e5 (say) nodes?
----- Original Message ----- From: Raul Miller <[email protected]> Date: Wednesday, September 2, 2009 8:06 Subject: [Jprogramming] jwiki -- tree sum To: Programming forum <[email protected]> > http://www.jsoftware.com/jwiki/Essays/Tree%20Sum#Descendants > > This page is immutable. The jwiki does not support "talk" > pages navigable from their primary pages, so I am posting > here. > > The definition: > gen =: 3 : '(*c) #^:_1 (I.c) <@;/. (;y){y [ c=. > #&> y' > could have instead been stated > gen=: ;@:{L:0 1~ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
