Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » A new container in works: Flex - fast insertion vector
Re: A new container in works: Flex - fast insertion vector [message #11276 is a reply to message #11275] Wed, 29 August 2007 22:22 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Well, the only drawback I am aware of is that it is this fast for adding/removing single element only.

For more elements (e.g. more lines), speed gradually drops to that of regular Vector or perhaps slightly worse (so far, this is only projected behaviour, implementing insertion of more elements will be another several days job Wink.

Anyway, this means that you should not get worse results for these cases than with Vector.

BTW, even memory consumption is very favorable, only a percent or two more than regular vector.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New FileSel(elector).
Next Topic: GDI, and therefore, Draw performance on Vista
Goto Forum:
  


Current Time: Mon Jun 23 08:10:03 CEST 2025

Total time taken to generate the page: 0.07306 seconds