136
larity.IthenpresentedalgorithmicissuesinimplementingPalimpsest,withaneyetothe
bestpossibleasymptoticcomplexity.
Itisnotclearthattheheavyweightapproachtoimplementationrepresentedbythealgo-
rithmsinthischapterisneededforpracticaluse.Formanyapplications,especiallytexted-
iting,theneedtoproduceawholedocumentinminimaltimeisrare.Themainrequirement
istorefillscreenbuffersofmoderatesizequickly,andtosupportoccasionalrandomaccess.
Furthermore,mosteditingapplicationsinvolvetheincrementaladditionofsmallchanges,
andtheycanuselocalinteractionbufferstosupportdisplayandediting,ratherthanusing
themorecomplexpersistentstoreforinteractiveoperations.
larity.IthenpresentedalgorithmicissuesinimplementingPalimpsest,withaneyetothe
bestpossibleasymptoticcomplexity.
Itisnotclearthattheheavyweightapproachtoimplementationrepresentedbythealgo-
rithmsinthischapterisneededforpracticaluse.Formanyapplications,especiallytexted-
iting,theneedtoproduceawholedocumentinminimaltimeisrare.Themainrequirement
istorefillscreenbuffersofmoderatesizequickly,andtosupportoccasionalrandomaccess.
Furthermore,mosteditingapplicationsinvolvetheincrementaladditionofsmallchanges,
andtheycanuselocalinteractionbufferstosupportdisplayandediting,ratherthanusing
themorecomplexpersistentstoreforinteractiveoperations.