Shared substrings d96-mst-ingen-reklam@xxxxxx (03 May 2000 21:34 UTC)
Re: Shared substrings erik hilsdale (04 May 2000 15:53 UTC)
Re: Shared substrings d96-mst-ingen-reklam@xxxxxx (07 May 2000 09:39 UTC)
Re: Shared substrings shivers@xxxxxx (07 May 2000 21:24 UTC)
Re: Shared substrings Tom Lord (04 May 2000 16:51 UTC)
Re: Shared substrings Arthur A. Gleckler (04 May 2000 17:32 UTC)

Shared substrings d96-mst-ingen-reklam@xxxxxx 03 May 2000 13:13 UTC

I still don't like the current practice of allowing START and END
parameters to almost every procedures, since this encourage a bad
programming style. If you need the performance of shared substrings,
you should use a Scheme implementation which have that, or write
your programs in C instead, IMHO.

However, I have a compromise idea. Instead of the optional START and
END parameters, allow using a list '(s start end) instead of the string
parameter. In this case, I think that procedures returning an index
should return an index to the substring, not to the whole string. Then
you can store and use a substrings easily. Then we can also get rid of
the "low-level" argument parsing stuff.

--
/****************************************************************\
* You have just read a message from Mikael Ståldal.              *
*                                                                *
* Remove "-ingen-reklam" from the address before mail replying.  *
\****************************************************************/