Subj : unbaja To : Angus McLeod From : Deuce Date : Sun Sep 11 2005 11:30 pm Re: unbaja By: Angus McLeod to Deuce on Sun Sep 11 2005 23:10:00 > > it'd be easy enough to add a check an external file and a CRC > > calculation (crc32 is localted in ../smblib) into the default case... > > then probobly hold matches (and negative matches) in memory. > > Uh, "negative matches"? Do you mean flagging variables that *aren't* in > the lookup table (internal or external) so as to prevent repeating the > lookup? > > > Actually, doing the file lookup during the STR and INT declarations would > > the most sense... then just have the default case search through matched > > before it uses a var_* format. > > What about building a short symbol table for variables as you encounter > them. When you find a new variable, you do a lookup for the name, and if > you don't find it, you create a name using var_. This name gets > stuck into the short symbol table. If you encounter the variable again, > you use the name found in the short symbol table (no internal or external > lookup needed). Yeah... that's what I meant... since the first time you entounter them will be in a declaration. --- þ Synchronet þ ``Penguins make tasty snacks'' .