[Kstars-devel] KDE/kdeedu/kstars/kstars/skycomponents

James Bowlin bowlin at mindspring.com
Wed Dec 14 07:57:15 CET 2005


On Tuesday 13 December 2005 11:19 pm, Jason Harris wrote:
> This is a much simpler scheme than before.  It may not be as fast to 
> search for objects in the Find Object tool.  If we find that th new 
> implementation is too slow, we can always try a similar optimization to 
> what was used by ObjectNamesList (i.e., split the names into 27 lists, 
> and select an "active" sub-list as soon as the first letter of the name 
> is entered).

Jason,

I was looking at some of this "find by name" code when I was making
changes to the cnames code.  I think that some of the code that
searches through lists of names could be speeded up significantly
by making use of the QT4 QHash class.  The code would probably end up
being a bit simpler too.

-- 
Peace, James


More information about the Kstars-devel mailing list