[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Need Help with Distance Algorithm in Numeric
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Need Help with Distance Algorithm in Numeric
- From: Kamilche <klachemin@xxxxxxxxxxx>
- Date: Thu, 31 Mar 2005 22:18:38 -0800
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Fri, 01 Apr 2005 01:20:40 -0500
- In-reply-to: <20050329212250.GF4743@idi.ntnu.no>
- References: <4245161E.1010408@comcast.net> <20050326152442.GA18844@idi.ntnu.no> <42474E4E.6070906@comcast.net> <20050328104130.GA24007@idi.ntnu.no> <4247E00E.1020504@comcast.net> <20050328121813.GA27268@idi.ntnu.no> <42482215.8070301@comcast.net> <20050328163857.GC778@idi.ntnu.no> <42489140.9080601@comcast.net> <20050329212250.GF4743@idi.ntnu.no>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201)
Wow, well, that did work, thanks! And it's about 3x faster! I'm so
bummed that I can't use it though, because for large amounts of data, it
fails with a 'couldn't allocate memory' error! Dang!
I'm going to keep it around as reference though... maybe someday my data
will be small enough to use this algorithm instead of doing it the hard way.
Thanks again, Magnus!