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

Jason Harris kstars at 30doradus.org
Wed Dec 14 08:12:03 CET 2005


Hi James,

Thanks for the tip.  Are you interested in taking a stab at it?  In any case, 
I'll read up on the QHash docs.

Jason

On Tuesday 13 December 2005 23:57, James Bowlin wrote:
> 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.

-- 
KStars: KDE Desktop Planetarium
http://edu.kde.org/kstars


More information about the Kstars-devel mailing list