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

1 2 3 .. 48 > >> (Page 1 of 48)
added org/gjt/sp/jedit/buffer/BufferSegment.java
removed bsh
removed bsh/classpath
removed bsh/classpath/BshClassLoader.java
removed bsh/classpath/BshClassPath.java
removed bsh/classpath/ClassManagerImpl.java
removed bsh/classpath/ClassPathListener.java
removed bsh/classpath/DiscreteFilesClassLoader.java
removed bsh/collection
removed bsh/collection/CollectionIterator.java
removed bsh/collection/CollectionManagerImpl.java
removed bsh/commands
removed bsh/commands/addClassPath.bsh
removed bsh/commands/bg.bsh
removed bsh/commands/bind.bsh
changed doc/CHANGES.txt
changed org/gjt/sp/jedit/buffer/ContentManager.java
changed org/gjt/sp/jedit/buffer/JEditBuffer.java
changed org/gjt/sp/jedit/gui/CompleteWord.java
changed org/gjt/sp/jedit/indent/CloseBracketIndentRule.java
changed org/gjt/sp/jedit/indent/DeepIndentRule.java
changed org/gjt/sp/jedit/indent/IndentAction.java
changed org/gjt/sp/jedit/indent/WhitespaceRule.java
changed org/gjt/sp/jedit/TextUtilities.java
changed org/gjt/sp/util/StandardUtilities.java
org/gjt/sp/jedit/buffer/BufferSegment.java Diff Switch to side-by-side view
Loading...
bsh
File was removed.
bsh/classpath
File was removed.
bsh/collection
File was removed.
bsh/commands
File was removed.
bsh/commands/addClassPath.bsh
File was removed.
bsh/commands/bg.bsh
File was removed.
bsh/commands/bind.bsh
File was removed.
doc/CHANGES.txt Diff Switch to side-by-side view
Loading...
org/gjt/sp/jedit/buffer/ContentManager.java Diff Switch to side-by-side view
Loading...
org/gjt/sp/jedit/buffer/JEditBuffer.java Diff Switch to side-by-side view
Loading...
org/gjt/sp/jedit/gui/CompleteWord.java Diff Switch to side-by-side view
Loading...
org/gjt/sp/jedit/indent/CloseBracketIndentRule.java Diff Switch to side-by-side view
Loading...
org/gjt/sp/jedit/indent/DeepIndentRule.java Diff Switch to side-by-side view
Loading...
org/gjt/sp/jedit/indent/IndentAction.java Diff Switch to side-by-side view
Loading...
org/gjt/sp/jedit/indent/WhitespaceRule.java Diff Switch to side-by-side view
Loading...
org/gjt/sp/jedit/TextUtilities.java Diff Switch to side-by-side view
Loading...
org/gjt/sp/util/StandardUtilities.java Diff Switch to side-by-side view
Loading...
1 2 3 .. 48 > >> (Page 1 of 48)