Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-08

A sort program in "rpsrt102.zip" .

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mehmet Erol Sanliturk

Dear Sirs ,

There is a program named as "rpsort.com" with its related sources in "rpsrt102.zip" which may be found in the following address :

http://www.simtel.net/product.php?url_fb_product_page=51643

or by an internet search with name rpsrt102.zip .

The following is a part from its "readme" :

------------------------------------------------------------------------------

This is being mailed to all those who either registered or inquired about RPSORT, written by my brother, Robert Pirko.

Robert Pirko, the author of RPSORT,
passed away on February 15, 1992.
He had not been ill , but just
suddenly collapsed and died.
You never know ...

RPSORT is now free for all to use, no payment is asked. Also the assembly language source code is free.

The file RPSRT101.ZIP has been uploaded to a local (New York City) BBS:

NYACC 718 539-3064 (free access)

This file contains version 1.01 of RPSORT and its documentation plus the commented source code written in 8086 assembler for the Borland Turbo Assembler 2.5.

It is also available by mail for a payment of $5.00 to:

Alex Pirko
3881 Sedgwick Ave
Apt.6D
Bronx, NY 10463

------------------------------------------------------------------------------

rpsort.com is working perfectly under Windows XP ( with 8.3 format file names
( because its file name variable ( I think , due to "IpNameExt DB 13 Dup (?)" in its
assembler source ) ) ) .

It is "UNBELIEVABLY" fast .

My suggestion is that it can be incorporated into a unit ( for example ,
as a procedure with a parameter
( containing giving definition of sort like its command-line parameter string ) ).

My opinion is that it may be useful to study it .

Thank you very much ,

Mehmet Erol Sanliturk

Reply by email

JoshyFun
to Mehmet Erol Sanliturk

Hello Mehmet,

Sunday, August 24, 2008, 10:07:12 PM, you wrote:

MES> It is "UNBELIEVABLY" fast .
MES> My suggestion is that it can be incorporated into a unit MES> ( for example ,
MES> as a procedure with a parameter
MES> ( containing giving definition of sort like its command-line parameter MES> string ) ).
MES> My opinion is that it may be useful to study it .

Which is special in this software ? It is using the well known QuickSort algorithm, as it is assembler it should run a faster than a pure Pascal implementation, also it is 16 bits asm code.

It will be quite difficult to compare in speed with a FPC implementation as the binary of RPSRT is .com file of 18KBs ;) and will be loaded very fast (no rellocation needed), compared to a FPC .exe binary.

Maybe you saw something that I was not aware about it :-?

Best regards, JoshyFun

Reply by email