× 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 Thu, Jul 6, 2017 at 5:05 AM, jacobus erps <jacobus.erps@xxxxxxxxx> wrote:
The problem with RPG's short names was not that the opcodes had short
names, but that all variable names could only be up to 6 chars.

I don't mind that "setll" is not written as "setLowerLimit".

This is absolutely true. I am still not sure I agree with your
particular choices for the data structure you're working on, but I
definitely agree with the principle that keywords should be on the
short side.

I don't know what is a "normal" map but i believe that a map with multiple
values per key is indeed called a multimap.

A normal map has unique, hashable keys. Thus lookup, insertion, and
deletion are all O(1). Generally ordering of the keys is not
guaranteed, because it's more important that the hash work well. This
is a primary, fundamental data structure in many languages as it is
extremely fast and extremely flexible.

However, in my case, the map is simply storing multiple key/item pairs
having the same key, so the same key is simply stored more than once.

In languages that have a regular map, a multimap is simply a regular
map whose values are collections. There is no separate implementation
for multimap.

John Y.

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.