The inner code of the following functions has been modified to avoid unnecessary c-tree function calls, obtaining a 30% performance enhancement for these functions:
TOCIndex