Home » U++ Library support » U++ Core » GetIndex on Array
Re: GetIndex on Array [message #11729 is a reply to message #11721] |
Sun, 23 September 2007 23:03   |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Sun, 23 September 2007 20:00 |
Well, so what we need is a key that invokes help, fills in the current ID and performs the search, right?
That should be trivial... sorry that it is not already there 
|
Ehehehehehe.... maybe it's not so trivial, if you want to manage multiple (external) help files and index all of them in a smart way.... But context help is a must, I think.
Nor is trivial the html widget you'd need in order to make all that stuff.
Even worse, if you want to directly support chm files.... too many help files are in that format.
Back to container classes, another thing that I miss is some sort of 'uniform behaviour' between various containers. I know that Index is the best for fast searches and Array is better for insertions/deletions, but having for them the same set of member functions would make life easier. Why a Find() member on Index and not on Array ? Ok, on Index is faster, but what if I need a sortable container (like Array) and I need also to search inside it ? Yes, there's the FindIndex algorithm, but it's another function usage to remember.
You could have Array with linear search, Index with hashed search and SortedArray with binary search, all of them with a member function Find().
Well, enough for today !
As I said, I like TheIde, and I think it needs only some minor 'polishing' to be the best multiplatform ide out there.
Ciao
Max
|
|
|
 |
|
GetIndex on Array
By: mdelfede on Sat, 22 September 2007 18:36
|
 |
|
Re: GetIndex on Array
By: mirek on Sun, 23 September 2007 10:36
|
 |
|
Re: GetIndex on Array
By: mdelfede on Sun, 23 September 2007 15:30
|
 |
|
Re: GetIndex on Array
By: mirek on Sun, 23 September 2007 18:57
|
 |
|
Re: GetIndex on Array
By: mdelfede on Sun, 23 September 2007 19:33
|
 |
|
Re: GetIndex on Array
By: mirek on Sun, 23 September 2007 20:00
|
 |
|
Re: GetIndex on Array
By: mr_ped on Sun, 23 September 2007 21:23
|
 |
|
Re: GetIndex on Array
By: mirek on Sun, 23 September 2007 21:36
|
 |
|
Re: GetIndex on Array
By: mdelfede on Sun, 23 September 2007 23:03
|
 |
|
Re: GetIndex on Array
By: mirek on Sun, 23 September 2007 23:32
|
 |
|
Re: GetIndex on Array
By: mdelfede on Mon, 24 September 2007 00:13
|
Goto Forum:
Current Time: Tue Jul 15 08:15:59 CEST 2025
Total time taken to generate the page: 0.03675 seconds
|