Summary: | PreferenceForwarder#contains() runs in linear time of the number of preferences | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Christof Marti <christof_marti> |
Component: | Resources | Assignee: | DJ Houghton <dj.houghton> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Kevin_Haaland |
Version: | 3.0 | Keywords: | performance |
Target Milestone: | 3.0 M9 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 60703 |
Description
Christof Marti
2004-05-14 04:30:38 EDT
adding dependency and keyword Aren't we supposed to release slow code in the beginning so when we do our performance pass we look that much better? Will fix and also take out all the Thread.sleep() class.... :-) Oops... I meant to say "calls" instead of "class". man I can't even try to be funny today. Fixed and released to HEAD. Thanks. Thanks for the quick response. Btw., we just noted that with this change contains() no longer fails gracefully when null is passed in as an argument. We fixed our side (see bug 62612), but you may want to check for null to be on the safe side here. I also just changed #isDefault(String) which had the same performance problem as #contains(String). |