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 » Large data ahead
Re: Large data ahead [message #51126 is a reply to message #51125] Wed, 30 January 2019 12:09 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
Tom1 wrote on Wed, 30 January 2019 11:50
OK, I see. I agree it is a stupid thing to waste RAM for storing a whole lot of zeros. Efficiency and speed must be considered in every step along the way and this is one of those steps.

As you pointed out, this is really a "99.999% of 32 bit and 0.001 % of 64 bit" -type of situation, so maybe I should first consider using Buffer<T> instead of Vector<T>. This may be beneficial from multiple points of view after all...

Thanks for your insight. Smile

BR, Tom


Well, all that said, I am 100% OK with HugeVector (and then most of other containers) with int64 GetCount()...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: get debug info after intermittent crashing of theide
Next Topic: umk on Linux
Goto Forum:
  


Current Time: Sat Apr 26 01:41:14 CEST 2025

Total time taken to generate the page: 0.03755 seconds