× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Fri, Mar 23, 2012 at 9:20 AM, Vinay Gavankar <vinaygav@xxxxxxxxx> wrote:
I "assumed" that these functions were more efficient than
regular RPG commands. If that is not the case, I would
rather use RPG or SQL, if that is more efficient.

I'm with Vern here. Or actually, with whoever said not to optimize.

I think it is always worth striving for better readability and better
maintainability. If there are algorithm-level improvements to be
made, make those. Other than that, leave the optimization to the
compiler or query engine. Especially if you don't notice that
something is too slow. I haven't really tested RPG code next to C
code to see which is faster, but from the seat of my pants, RPG
programs feel pretty fast. (And I don't even use compiler
optimization.)

If some piece of business logic can be expressed naturally and
readably in RPG, then that's a perfectly good (and very possibly best)
way to express it, in my opinion.

John

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.