Hi, 1.) Use e.g. Bubblesort to sort your n-thousand items 2.) then put just the first entries of a group (e.g. the first word beginning with a new letter) into combobox #1 (like a dictionary) for the user to select his required subset of entries.
sincerely, U.Penski [EMAIL PROTECTED] Java Example applets: http://uuhome.de/penski/misc_info.htm (graphical citylist database within a country) http://uuhome.de/penski/persons.htm (small dictionary) ----Original-E-Mail----- >Von: "John O'Sullivan" <[EMAIL PROTECTED]> >An: "JDJList" <[EMAIL PROTECTED]> >Betr.: [jdjlist] RE: Performance Issues >Antwort an: "JDJList" <[EMAIL PROTECTED]> >Gesendet am: Mittwoch, 4. September 2002 14:19 > >What are you suggesting? I don't understand what you mean "look at the >bubblesort example program, for example of the Sun "HotSpot" compiler" > > > > > > > >-----Original Message----- >From: U. Penski [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, September 04, 2002 5:19 AM >To: JDJList >Subject: [jdjlist] RE: Performance Issues > > > >The programmer should look at the bubblesort example program e.g. of the >Sun "HotSpot" compiler : > >Sort your entries (e.g. by first letter) and realize a 2 step approach >(e.g. 2 comboboxes - the second one is filled with a subset of the items > >after the first one has been selected) ! > > > >sincerely, > >[EMAIL PROTECTED] > >----- Original Message ----- > >From: Alan Williamson <mailto:[EMAIL PROTECTED]> > >To: JDJList <mailto:[EMAIL PROTECTED]> > >Sent: Wednesday, September 04, 2002 9:55 AM > >Subject: [jdjlist] RE: Performance Issues > > > >-----Original Message----- >From: Alan Williamson [mailto:[EMAIL PROTECTED]] >Sent: 04 September 2002 08:52 >To: JDJList >Subject: [jdjlist] RE: Performance Issues > >A combo box with 80,000 entries in it is useless to the user regardless >of memory issues!!! I don't know if there is a limit in the HTML but I'd >say the *user* will reach a limit long before the *computer* ever will. >I would say this has to be definitely < 1000 or better yet, < 100. > > >[ArW] I would have to agree with this post from Scot ... this isn't a >technical issue as more of an HCI issue. Even if this was a local >client side application ... 80,000 items to scroll past ... really is >asking a lot of the poor user. > >To change your JDJList options, please visit: >http://www.sys-con.com/java/list.cfm > > > >To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm > > To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
