Improve performance with early return.
Improve performance with early return.

When the TClass is found directly in the list, return early
to avoid the costly parsing of the class name.  This improve
performance in general and reduce lock contention (the lock
is released faster) in multi-thread environment.

tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot