Menu

#4 don't use integer indexes

open-later
API change (4)
5
2002-05-21
2002-03-20
No

From the 18.Mar devel meeting:

Many container classes use integer indexes for
identifing individual objects. This causes linear
time access for most things, since we use lists
everywhere. The API should be change from using
these integer indexes to something else, for example,
by using iterators directly or by using the stl's
*_if API.

Discussion

  • Sean 'Shaleh' Perry

    Logged In: YES
    user_id=37132

    I have started this. The window lists are going to be a major issue. The problem stems from the way the
    menu stores elements.

     
  • Sean 'Shaleh' Perry

    • status: open --> open-accepted
     
  • Sean 'Shaleh' Perry

    Logged In: YES
    user_id=37132

    This has proved to require a lot more work and is being held
    off for now.

     
  • Sean 'Shaleh' Perry

    • status: open-accepted --> open-later
     
  • Nobody/Anonymous

    Logged In: NO

    How will this change the access-times when your
    data-structure is still a linked list? By hiding it via
    stl-calls you wont make anything better.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.