|
Gosh I hope those are resource related performance results and not true results. If that is true, then IBM implemented INT variables in RPG poorly and should fix it and PTF it back to V1R1. Bob Cozzi -------- Original Message -------- Subject: int vs binary questions From: "Steve Richter" <srichter@xxxxxxxxxxxxx> Date: Mon, February 09, 2004 9:11 am To: "Chat. Rpg400-L" <rpg400-l@xxxxxxxxxxxx> is there a dds equivalent to "10i 0"? I ran a timing loop that copied between 10i 0 and 9b 0 variables. here are the results: bin to bin was the fastest. int to int was 10% slower than bin to bin. bin to int took twice as long as bin to bin. any idea why bin to bin runs faster than int to int? The practical side of this is that I have gotten into the practice of declaring all integer type variables as 10i 0. But when I have to store such a field in a database file, I dont know the best way to declare the database field. -Steve _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.