Re: performance: filters, filternodes, & 34516

Tor Norbye <[email protected]> Mon, 23 Jun 2003 17:26:30 -0700
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems, Inc
Message-ID <[email protected]>
Tim Lebedkov wrote:
> Hi Tor,
> 
> Tor Norbye wrote:
> 
> 
>>I've been looking at bug 34516, which is pretty bad - it means that
>>once you have more than 4 suggestions for a given type, you loose
>>the ability to see these suggestions. 
> 
> 
> sorry about that.

Oh, I'm not trying to assign blame - most of the bugs in
the tasklist source tree are my fault!

I was more trying to argue that this bug is pretty severe.
So I'm thinking of the following:
 - I'd like to revert the code in TaskListView.getFilter
   to return null, and then handle that gracefully in a couple
   of places such that it doesn't throw exceptions.

I think this breakage will be less severe than the current
one; then we can work on a better fix.  This also has
the advantage of giving better performance when no
filters are in effect. 

-- Tor