IonicWind Software

IWBasic => General Questions => Topic started by: Rock Ridge Farm (Larry) on April 15, 2020, 02:49:26 PM

Title: Dictionary function question
Post by: Rock Ridge Farm (Larry) on April 15, 2020, 02:49:26 PM
While working on the new compiler I realized that the Dict..... functions appear to be open ended. I want to put a upper limit on how large a Dictionary can be (number of items).
Does anyone build large Dictionaries?
What would be a practical upper limit on the number of items?

Larry

Title: Re: Dictionary function question
Post by: LarryMc on April 15, 2020, 04:55:56 PM
I use it in the IDE to hold all the libs when compiling. I also create one 300 elements big to hold all the control styles.  And there is one that holds all the threads during debug and I have no idea what a good number there would be.

LarryMc
Title: Re: Dictionary function question
Post by: h3kt0r on April 15, 2020, 07:16:49 PM
9999 !
Title: Re: Dictionary function question
Post by: aurelCB on April 17, 2020, 04:19:06 AM
Dict or hash or map require prime numbers..you can find it on many articles over internet...
also you can always use it as memory work.