www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/01/23:06:38

Message-ID: <3BB929F4.B802124C@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Benchmarks Revisited...
References: <5l6irt41k9kns8h3j3398rm282b56b6m69 AT 4ax DOT com>
Lines: 57
Date: Tue, 02 Oct 2001 02:46:43 GMT
NNTP-Posting-Host: 12.90.170.222
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1001990803 12.90.170.222 (Tue, 02 Oct 2001 02:46:43 GMT)
NNTP-Posting-Date: Tue, 02 Oct 2001 02:46:43 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Radical, NetSurfer wrote:
> 
> I finally got in the results of my Borland 32-bit console
> application as ported to now both DJGPP 2.03/GCC 2.95.3,
> and MSVC++ 6.0....
> 
> if anyone wants the actual break down:
> 
> Program #1:
>   C++Builder 3.0 Pro Console32: 1h 33m 07s
>                                              DJGPP: 38m 33s  <---
>                                     MSVC++ 6.0: 1h2m24s
> 
> Program #2:
>   C++Builder 3.0 Pro Console32: 8m 15s
>                                              DJGPP: 6m 37s
>                                    MSVC++ 6.0:  5m 20s       <-----
> 
> Program #1 scans entire lines of text ("sentences") using
> strstr(), then inspects the left and right -hand sides for
> white-space, and/or punctuation delimiters... then applies
> word-substitutions... deconstructing and then reconstructing
> the "sentence" each time a term matches...
> 
> Program #2 breaks sentences down into individual white-space and
> punctuation -delimited words, and applies an alphabetized
> lookup/substitution to each individual word...

If you want to try another algorithm, send me an e-mail and I will
send you the executable of:

c:\dnld>id2id
ID2ID (source, target, idpairs, output) Ver. 1.9
usage: ID2ID source target [idpairs]

Replaces identifiers in source, writing to target
If idpairs is not specified on the command line
the file "IDPAIRS." is used.  If missing the identifier
list to change is considered empty

idpairs contains a list, in the form:
oldname newname       (one per line)
The default input language is Pascal (comment syntax etc)

Initial optional lines in idpairs as follows configure:
$C             use C syntax
$ASM           use assy syntax
$UPSHIFT       upshift all ids on input
$DOWNSHIFT     downshift all ids on input
   (these must be in upper case)
by default, ID2ID is case sensitive

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
   (Remove "XXXX" from reply address. yahoo works unmodified)
   mailto:uce AT ftc DOT gov  (for spambots to harvest)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019