🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #553

Re: Speed of Delete - improvement

#553
From: Dr John Stockton
Date: Tue, 18 Nov 1997 00:00
22 lines
1611 bytes
In article <34717177.6538@short.net> of Tue, 18 Nov 1997 02:44:07 in
comp.lang.pascal.borland, Mike <internal@short.net> wrote:
>
>Here's mine!
>
>procedure DelSt
> ...

A hasty test shows that yours works on reasonable cases, but differs
from sys.Delete and mine on pathological ones such as negative inputs.
As of course we all expected, the speeds of ours are rather similar.  I
guess that which is, on the average, best *might* depend on the nature
of the string deletes one wants, e.g. snips or chops.

Regards,
 
-- 
John Stockton, Surrey, UK.    jrs@merlyn.demon.co.uk    Turnpike v1.12    MIME.
  Web URL: http://www.merlyn.demon.co.uk/ - FAQqish topics, acronyms and links.
  Correct 4-line sig separator is as above, a line comprising "-- " (SoRFC1036)
  Before a reply, quote with ">" / "> ", known to good news readers (SoRFC1036)
Technical Details
Message-ID: <X9UL4DAzfic0EwJI@merlyn.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <s2qpaAAJUIc0EwPB@merlyn.demon.co.uk> <34717177.6538@short.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111659,9e270db731f7d69c
X-Google-Attributes: gid111659,public
X-Google-Thread: 108ebd,9e270db731f7d69c
X-Google-Attributes: gid108ebd,public
X-Google-Thread: 10261c,9e270db731f7d69c
X-Google-Attributes: gid10261c,public
From: Dr John Stockton <jrs@merlyn.demon.co.uk>
Subject: Re: Speed of Delete - improvement
Date: 1997/11/18
Message-ID: <X9UL4DAzfic0EwJI@merlyn.demon.co.uk>
X-Deja-AN: 290599242
Distribution: world
X-NNTP-Posting-Host: merlyn.demon.co.uk [158.152.233.145]
References: <s2qpaAAJUIc0EwPB@merlyn.demon.co.uk> <34717177.6538@short.net>
Organization: Home, Surrey, UK
Newsgroups: comp.lang.pascal.borland,comp.lang.pascal.misc,borland.public.turbopascal