stefanfuhrmann < at > alice-dsl.de


Patch
r929125, r929124

r929125 | philip | 2010-03-30 08:05:33 -0500 (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 > alice-dsl.de


r929124 | philip | 2010-03-30 08:05:05 -0500 (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
   copy_source_ops.

Patch by: stefanfuhrmann < at > alice-dsl.de