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 » U++ Library support » U++ Core » Arrys vs Vectors
Re: Arrys vs Vectors [message #30287 is a reply to message #30285] Tue, 21 December 2010 22:12 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
looks like it will be a heavy duty 3d Model thing Smile
the basic question is in fact: do the upper layers really really need to have the exactly same point references, because the points maybe are crucial for the model parametrisation, and you modify the points and expect the whole model to be able to recalculate on top of this or are the higher primitives like lines independant from the point instances after creation?

i would do a mix of both:

storing Points not as refs or pointers but as-is copies in Lines etc.. but then, from there, use Pointers to Lines and the like in the upper layers. i think here you will be able to achieve both, easy use and good overall performance.

it's not quite easy to determine the right approach, but again, like a friend of mine used to say: 90% percent of programming is choosing the right approach, which is 90% based on choosing the right data structures Smile
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: asxml...or like I would like to keep encoding...
Next Topic: :( errors on sfx project
Goto Forum:
  


Current Time: Fri May 10 02:38:56 CEST 2024

Total time taken to generate the page: 0.02247 seconds