#131 Optimize SelectArrayElement

Performance
closed-fixed
nobody
5
2004-09-01
2004-08-19
No

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.

Discussion

  • Hans-Martin Will

    • status: open --> closed-fixed
     
  • Hans-Martin Will

    Logged In: YES
    user_id=618887

    Each array now manages a member function pointer that will
    retrieve a whole vector into a traget buffer and perform any
    necessary data conversion.

    The function pointer is initialized as part of
    Context::PrepareArray()

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks