Thread
:
Speed optimizations?
View Single Post
#
3
01-25-2004, 03:05 PM
Windcatcher
Demi-God
Join Date: Jan 2002
Posts: 1,175
Another thing I ran across was code somewhere that did a linear search through some sort of door list to find one with a certain ID. A binary search would be infinitely more efficient (log(n) vs. n).
WC
Windcatcher
View Public Profile
Send a private message to Windcatcher
Find all posts by Windcatcher