Commit [9418f8] Maximize Restore History

Minimize the creation of new string instances when processing data from the buffer. New strings require copies of the data to be made - the new approach uses a CharSequence implementation that provides most of the same functions as a String, but is backed by the same data used internally by the buffer - so no copying.

Marcelo Vanzin Marcelo Vanzin 2008-05-01