thanks :)
On 5/17/07, Alex Holkner <[EMAIL PROTECTED]> wrote:
Here's the head of the thread:
http://aspn.activestate.com/ASPN/Mail/Message/pygame-users/3231069
and here are those benchmarks I was talking about:
http://aspn.activestate.com/ASPN/Mail/Message/pygame-users/3233961
Alex.
On 17/05/2007, at 10:06 AM, René Dudfield wrote:
> Have you got a link to that thread? or do you remember the subject?
>
> On 5/17/07, Alex Holkner <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>>
>> So, I've been working on a simple physics system, and have gotten
>> to the
>> point where passing around a tuple just isn't cutting it. Can anybody
>> suggest a good 2D vector implementation?This thread came up
>> sometime last
>> year, and several implementations were put forward.
>>
>> If you're happy to put all of your vectors into a single numpy/
>> numeric
>> array, that is the fastest approach.
>>
>> CGKit (http://cgkit.sourceforge.net/) is a C extension which is
>> the fastest
>> vector-is-an-object implementation. Unless things have changed
>> recently
>> though, this library is a nightmare to compile and install.
>>
>> For pure Python, the fastest implementation is my euclid module:
>> http://partiallydisassembled.net/euclid.html (some
>> comparison results were posted in the previous thread).
>>
>> Cheers
>> Alex.
>