Optimize SelectArrayElement(int index) such that
instead of going through all the switches for type and
dimension of the vectors, member function pointers (on
the array classes) are determined at the beginning of
the drawing function that given an index perform the
conversion of type and dimension in a single shot.
Log in to post a comment.