Re: Two-dimensional map

new topic     » goto parent     » topic index » view thread      » older message » newer message
SnakeCharmer said...

... What way is more effective? What is better ... ? How to optimize the map ...?

The first rule of optimization is "do not optimize anything before you have to".

Write your application using any algorithm that makes sense to you, disregarding any optimization ideas. And THEN if its too slow for you, start profiling it to see which sections of code would benefit from optimization ... you may be surprised as to what you find out.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu