stefanfuhrmann < at >

r929125, r929124

r929124 | philip | 2010-03-30 13:05:05 +0000 (Tue, 30 Mar 2010)

Optimize the copy operation table lookup.

* subversion/libsvn_delta/compose_delta.c
  (search_offset_index): Add hint parameter and use a simpler binary
   search implementation.
  (copy_source_ops): Add hint parameter to pass through to
   search_offset_index. Check for upper limit on-the-fly.
  (svn_txdelta_compose_windows): Pass default value for hint to

Patch by: stefanfuhrmann < at >

r929125 | philip | 2010-03-30 13:05:33 +0000 (Tue, 30 Mar 2010)

Optimize the search for 'interesting' characters that control the
keyword substitution.

* subversion/libsvn_subr/subst.c
  (translation_baton): The 'interesting' member is now a boolean array.
  (create_translation_baton): Adapt initialization code.
  (translate_chunk): Eliminate call to strchr.

Patch by: stefanfuhrmann < at >