|
Joe,
Just to add to the mix, I'd also go with the user space approach, in a
common library. I do this a whole bunch and out works great - I didn't do
any fancy SETOBJACC stuff, and it was still blindingly fast.
Rory
On Jul 5, 2011 8:14 PM, "Joe Pluta"<joepluta@xxxxxxxxxxxxxxxxx> wrote:
Depends - do you want to see code that works? ;)list
Joe,
Can we see some code when it's written?
2011/7/5 Pete Hall<pete@xxxxxxxxxxxxxx>:
On Tue, 05 Jul 2011 12:12:06 -0500, Joe Pluta wrote:
and that I have to choose between speed and memory usage. I suppose IJoe,
can share a single user space among multiple jobs. Or a user index,
perhaps? I always wonder about those sorts of objects, though, since
every request requires a fully qualified object name. How often do
those get resolved?
The get pointer to user space API lets you use the data in the space
object as though it were internal data. I think the user index works the
same way, but I haven't needed to use it for so long, I'm not sure
anymore. You resolve the pointer once at program startup, and that's it.
--
Pete Hall
--
This is the RPG programming on the IBM i / System i (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.
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
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.