Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/17/03 02:22
Read: times


 
#54844 - RE: Clarification required - Suresh!
Responding to: ???'s previous message
Are you saying that new strings are to be added once the sorted set is already inserted via serial communication? If strings are to be dynamically added to a pre-existing pre-sorted set, its a very different problem. Indexing might not be the best solution unless you can afford to reserve some extra-space for each alphabet in the index, and again there is the question of how much space to reserve.

A dynamic allocation like linked list method would be better. Hash tables somehow seem a bit complicated to implement on a 8-bit, especially when you consider collisions. An indexed linked-list might be a good idea, and should be easy to implement too.

And as Erik has mentioned, the nature of the string and matching criteria are important, and if you could ellucidate about those, it would help us understand the problem better...

kundi

List of 18 messages in thread
TopicAuthorDate
storing strings on flash            01/01/70 00:00      
   RE: storing strings on flash            01/01/70 00:00      
      RE: storing strings on flash            01/01/70 00:00      
         RE: storing strings on flash            01/01/70 00:00      
            RE: storing strings on flash            01/01/70 00:00      
   RE: storing strings on flash            01/01/70 00:00      
      RE: storing strings on flash            01/01/70 00:00      
      RE: storing strings on flash            01/01/70 00:00      
         Clarification required - Suresh!            01/01/70 00:00      
            RE: Clarification required - Suresh!            01/01/70 00:00      
               RE: Clarification required - Suresh!            01/01/70 00:00      
                  RE: Clarification required - Suresh!            01/01/70 00:00      
                     clarified            01/01/70 00:00      
               RE: Clarification required - Suresh!            01/01/70 00:00      
                  RE: Clarification required - Suresh!            01/01/70 00:00      
                  problem in detailed            01/01/70 00:00      
                     RE: problem in detailed            01/01/70 00:00      
   RE: storing strings on flash            01/01/70 00:00      

Back to Subject List