<div dir="ltr">I'll give it a try and let you know. I think it can be done.<br><br>-Regards<br>-Aarsh</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 22, 2013 at 4:41 PM, Olly Betts <span dir="ltr"><<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, Jun 22, 2013 at 12:41:52PM +0530, Aarsh Shah wrote:<br>
> I was adding the calculations for a lower bound to get_sumpart() (DLH has<br>
> no term independent component) when I realized that the same lower bound<br>
> will be calculated for each term-docment pair that get_sumpart is called<br>
> pair which basically reduces efficiency. How do I calculate the lower bound<br>
> for a term only once and then use it ?<br>
<br>
</div>Can you calculate it in the init() method of your subclass and store it<br>
in a member variable?<br>
<br>
Cheers,<br>
    Olly<br>
</blockquote></div><br></div>