about effeciecy of SGI list

H

hpsoar

I found that most member functions of list implemented by SGI used
iterators, while I think it will be more efficient to use more lower
stuffs like pointers. And the prev and next pointers are of void type,
this caused many type casts, will it be more efficient if we just use
pointers of value_type?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,431
Latest member
ElyseG3173

Latest Threads

Top