<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 2011-03-29, at 12:06 AM, Bill Wendling wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Mar 28, 2011, at 10:35 PM, Eli Friedman wrote:<br><br><blockquote type="cite">On Mon, Mar 28, 2011 at 10:15 PM, Bill Wendling <<a href="mailto:isanbard@gmail.com">isanbard@gmail.com</a>> wrote:<br></blockquote><blockquote type="cite"><font class="Apple-style-span" color="#540000"><br></font></blockquote><blockquote type="cite">That isn't a safe way to query whether a block is usable... if you<br></blockquote><blockquote type="cite">have domtree, why not just use "DT->isReachableFromEntry(BB)"?<br></blockquote><blockquote type="cite"><br></blockquote>It's probably rather slow. Why isn't this safe?<br></div></blockquote></div><br><div>You can have an unreachable loop. Using isReachableFromEntry() was fast the last time I checked. It just checks whether the BB has a DomTreeNode.</div><div><br></div><div>Cameron</div></body></html>