Re: [sword-devel] Question for Optimization / speed experts

2003-01-07 Thread Christian Renz
Hey David, I really don't think an extreme amount of optimization is required; just moving to an O(n) algorithm instead of the current O(m*n) should be sufficient imho. You're right -- if that is still too slow, the most efficient optimization would be to not calculate everything at once, as me

Re: [sword-devel] Question for Optimization / speed experts

2003-01-07 Thread David White
quences will need to have standards-conforming > > iterators. If you need any help using the function, let me know. > > > > -David. > > > > - Original Message ----- > > From: "Joachim Ansorg" <[EMAIL PROTECTED]> > > To: <[EMAIL PRO

Re: [sword-devel] Question for Optimization / speed experts

2003-01-07 Thread David White
- Personally, I would find a list of *all* keys more desirable (that > is, list any key that is found in any of the chosen lexicons). I > took a look at Bibleworks when visiting my brother (he is teaching > OT) and noticed it has a feature where instead of having a window > per dictionary,

Re: [sword-devel] Question for Optimization / speed experts

2003-01-06 Thread Joachim Ansorg
forming > iterators. If you need any help using the function, let me know. > > -David. > > - Original Message - > From: "Joachim Ansorg" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 07, 2003 12:46 AM > Subject

Re: [sword-devel] Question for Optimization / speed experts

2003-01-06 Thread Christian Renz
BibleTime supports displaying different lexicons side by side, it offers only the keys which are available in all of the chosen lexicons. Some ideas for this: - You don't have to build the whole list at once. Build e.g. a list of 20 or 30 items, then calculate more as the user scrolls up/down.

Re: [sword-devel] Question for Optimization / speed experts

2003-01-06 Thread David White
> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 12:46 AM Subject: [sword-devel] Question for Optimization / speed experts > Hi! > Some questiosn for optimizations experts :) > > I'm working on a piece of code in BibleTime which gives me headaches. > BibleTime s

Re: [sword-devel] Question for Optimization / speed experts

2003-01-06 Thread Glen Prideaux
Joachim Ansorg wrote: Hi! Some questiosn for optimizations experts :) I'm working on a piece of code in BibleTime which gives me headaches. BibleTime supports displaying different lexicons side by side, it offers only the keys which are available in all of the chosen lexicons. The function whi

[sword-devel] Question for Optimization / speed experts

2003-01-06 Thread Joachim Ansorg
Hi! Some questiosn for optimizations experts :) I'm working on a piece of code in BibleTime which gives me headaches. BibleTime supports displaying different lexicons side by side, it offers only the keys which are available in all of the chosen lexicons. The function which creates the list of e