private int findDynamicWindow ( int c ) { // supposedly faster to count down //for(int i = 0; i < NUMWINDOWS; i++) { for ( int i = NUMWINDOWS - 1 ; i >= 0 ; -- i ) { if ( inDynamicWindow ( c , i ) ) { ++ fTimeStamps [ i ] ; return i ; } } return INVALIDWINDOW ; }
Determine if a dynamic window for a certain character is defined