Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^3: What Perl CAN'T do?

by jplindstrom (Monsignor)
on Dec 15, 2005 at 03:41 UTC ( #516844=note: print w/replies, xml ) Need Help??

in reply to Re^2: What Perl CAN'T do?
in thread What Perl CAN'T do?

One very simple way to optimize collision detection is to sort the objects by pos.x (or y) first. Now you know a lot more about which objects are in proximity.

I'm sure there are really clever rocket science grade algorithms for this too :)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://516844]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2016-10-26 14:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (341 votes). Check out past polls.