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)

Re: Shared substrings shivers@xxxxxx 07 May 2000 21:24 UTC

   This is silly. If you really need the extra speed, then use a Scheme
   implementation with shared substrings, or another language (such as C).

Not an option for a portable library. We've been through this.

   >  ms> However, I have a compromise idea. Instead of the optional START
   >  ms> and END parameters, allow using a list '(s start end) instead of
   >  ms> the string parameter.
   >
   >I'm not sure I understand how this is a win over the optional
   >start/end parameters,

   The advantage is that you can store the string with the indices as one
   (conceptual) unit, thus making the program code easier to maintain and
   less error-prone.

You are simply re-inventing a form of shared-text strings, but one that is
particularly inefficient and that has poor error-checking properties. This I
do not want to do.

   Please don't destroy the nice high-level Scheme language with these
   exaggerated low-level optimazion efforts.

Try this: just ignore those optional parameters and you'll have the
interface you want.
    -Olin