r/CircleProgramming • u/Illuminatesfolly • Mar 21 '13
How do I make this code faster without loosing the function?
http://pastebin.com/ie9XTrc7
3
Upvotes
r/CircleProgramming • u/Illuminatesfolly • Mar 21 '13
View all comments
Show parent comment
1
u/Illuminatesfolly Mar 21 '13 edited Mar 21 '13
Hey! Thanks for the tip about rendering. Me and the guy that I work with were wondering about that.
AND, good call on the sorting -- I wrote a derivative of quicksort for the custom class that I am working with and now the sort times are trivial. It is actually the portion of the program where I convert clusters to graphical clusters that is eating up time. I put clocks on every portion of the code and found that the portion of the code that does the conversion took something like 10,000X as long as any other portion of the program.