× 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.



Mihael,

I saw this impl, but i found it somwhat lacking, in docs, and functionality.
For example you can either have character or integer keys, instead of any
mix of types (like a Java Map).
Also iterating though the map (if i saw correctly maybe another map impl)
is not done through a cursor for example.
So, in a procedure, if a get the map as parameter, i can't iterate without
disturbing another on-going iteration with the same map.

If i look at the docs, the usage seems to be somewhat complex, with lots of
implementation details (not interested in implementation, just how to use
it easily).





On Wed, Jul 5, 2017 at 5:26 PM, Mihael <mihael@xxxxxxxxxxxxxx> wrote:

If you are interested in a tree maps then you should take a look at the <
https://github.com/fbuihuu/libtree> project. It has various tree
implementations and the C code is VERY compatible.

I have created a wrapper for using the red black tree with character and
integer keys, see <http://rpgnextgen.com/index.php?content=libtree> .

Docs at ILEDocs <http://iledocs.sourceforge.net/docs/index.php?action=
mainmenu&category=1> (though this will change in the near future to
iledocs.rpgnextgen.com ).

Best Regards

Mihael

On 5 July 2017 at 16:52:39 +02:00, jacobus erps <jacobus.erps@xxxxxxxxx>
wrote:

Dynamic arrays for RPG have been available for many years now from at
least Mihael Schmidt and Aaron Bartell, perhaps also others I'm not
aware of. (As I said, underpublicized.)



If you're not LppEdd (Edoardo Luppi), you probably ought to at least
check out what they've already done. For reference, the most relevant

No, i'm not Edoardo.

I have investigated whats already available, and i find it somewhat
lacking
in functionality, easy of use, and docs.

I'm working on a map implementation that is more like a Java TreeMap,
backed by a red-black binary tree implementation.
So the keys are sorted.



--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.