gcc/gcc/ada g-pehage.ads g-pehage.adb
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Mon Sep 5 07:54:00 GMT 2005
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: charlet@gcc.gnu.org 2005-09-05 07:54:37
Modified files:
gcc/ada : g-pehage.ads g-pehage.adb
Log message:
2005-09-01 Laurent Pautet <pautet@adacore.com>
* g-pehage.ads, g-pehage.adb (Select_Char_Position): When no character
position set is provided, we compute one in order to reduce the maximum
length of the keys. This computation first selects a character
position between 1 and the minimum length of the keys in order to
avoid reducing one of the keys to an empty string.
(Initialize, Compute): When the ratio V to K is too low, the algorithm
does not converge. The initialization procedure now comes with a
maximum number of iterations such that when exceeded, an exception is
raised in Compute. The user can initialize this ratio to another value
and try again
Reformating and updated headers.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/g-pehage.ads.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/g-pehage.adb.diff?cvsroot=gcc&r1=1.3&r2=1.4
More information about the Gcc-cvs
mailing list