|
Nathan M. Andelin said: >It takes 2095 MS to run the RPG code on my AS/400. >But it only takes 365 MS to run the Foxpro code on >my Laptop. The Foxpro program offers 5.74 times >better performance. But Foxpro is not faster than >RPG. The difference is in the computer hardware. Hi Nathan! I'd like to suggest that the difference is in the hardware AND the software. If you want to see the AS/400 do string handling faster, try using VARYING on your string declarations. We had a thread on this very subject in the RPG400-L list. Remember that RPG was originally designed to line columns up nicely on reports. When writing in "legacy" mode (no VARYING), you are using fixed-length fields, not "strings" like other software platforms (C, Java, Foxpro!) To do meaningful string operation comparisons, use VARYING to create RPG strings. Buck Calabro Commsoft; Albany, NY "Nothing is so firmly believed as that which we least know" -- Michel Montaigne Visit the Midrange archives at http://www.midrange.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.