The seekToTime method was implemented as a linear search. This patch modifies the method to use a binary search to improve performance.
This patch also contains the patch from 11/23/2009 that was submitted by Hai Chuan Wang to fix the hasMore() method.
Convert seekToTime to binary search from linear