Menu

Commit [r4597]  Maximize  Restore  History

This revision disables the query cache except when _indentBlock is

executing in AbstractDJDocument. The cache only provides critical
optimization on block indent operations for individual line indents,
it probably increases overhead and it almost certainly reduces the
ressponsiveness of the UI when entering text in large documents
(because the _clearCache operations can be expensive in some
situations).

The code changes involved in converting the cache back to full-time
operation are minimal so we can easily change it back if we find
the restricted (block-indent-only) version is less desirable.

The following files were modified:

M src/edu/rice/cs/drjava/model/AbstractDJDocument.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/AbstractDJPane.java

rcartwright 2008-07-18

changed /trunk/drjava/src/edu/rice/cs/drjava/model/AbstractDJDocument.java
changed /trunk/drjava/src/edu/rice/cs/drjava/ui/AbstractDJPane.java
changed /trunk/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
/trunk/drjava/src/edu/rice/cs/drjava/model/AbstractDJDocument.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/drjava/ui/AbstractDJPane.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB