Yah but 100,000 words into memory. I would do pointer based array but VB sucks for pointers. I'm tempted to install delphi and write it in that. Its pascal based and im better at pascal.
It would sort by popularity of the word used. So if you use "the" alot then "the" would come up first. If it was the same popularity of another word then it would be alphabetical next. I was going to use an integer for that but desided a byte gives me 0-255. This should be enough.......i may have to average them somehow. like when you use a word it goes from 0 to 255 as long as nothing else in the lists is 255. Then just divide by 2 to place the next least popular ie 0, 127, 255.....hmm..i still need to think about how this will work.
Yes then i could have 6 arrays to pull data from. that would make it real quick. Not sure how much memory these arrays are going to take up.



LinkBack URL
About LinkBacks

Reply With Quote
and nothing else. So when i get that fixed i will put out another alpha teaser. With the speed increase.
Its been so long since ive used sorting algorithyms. I think quicksort is fast. Anyways i bubble sort the favorate word to the top of the list and then the database is already alphabetical.




Bookmarks