home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,582 of 2,753   
   Hans-Peter Diettrich to Ira Baxter   
   Re: Internal Representation of Strings   
   22 Feb 09 13:43:30   
   
   From: DrDiettrich1@aol.com   
      
   Ira Baxter schrieb:   
      
   > As an example, we store small integers in number-carrying leaf   
   > nodes, with a hash table used to store pretty rare big integers.   
      
   Hash tables for literals can reduce the memory requirements a lot. They   
   do not only allow to share e.g. constant strings, but also can help in   
   finding typos in numerical values, or to emit suggestions for named   
   constants.   
      
   When e.g. a value 19.2 is found in more than 100 places in a real life   
   application, it should cause some frowning.   
      
   DoDi   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca