On Nov 19, 2007 11:42 AM, apfelmus &lt;<a href="mailto:apfelmus@quantentunnel.de">apfelmus@quantentunnel.de</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks. The interesting case of nested blocks still needs to be<br>specified, but with this description in mind and judging from the code,<br>I guess it behaves as follows: either a block fits entirely on the<br>remaining line (no line breaks inside), or it begins a new line.
</blockquote><div class="Ih2E3d"><br>Yeah, breakdist does not look inside a block when computing the break distance.<br>&nbsp;<br>&gt; On the strictness annotations, my reasons for them are the usual ones,<br>&gt; primarily to prevent memory leaks due to dragging, but a performance boost
<br>&gt; is always welcome. &nbsp;At some point, I plan to profile the code with and<br>&gt; without the annotations, and find out where they are needed.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That seems excessive. Can you really prove that this will prevent space<br>leaks? I doubt that.</blockquote></div><br>Ooh, I think I overstated my case.&nbsp; I meant to say that for my application, there are just a few data structures, such that if data traceable from them is strictly evaluated, I&#39;m pretty sure I will have no space leaks.&nbsp; Currently it&#39;s just an intuition, but when the application is mature, I&#39;ll profile and validate this intuition.&nbsp; All I know is it was dog slow without any annotations, and spaying them on the suspect data structures cured that problem.&nbsp; Only careful profiling will tell which of those annotations can be removed.
<br><br>John<br>