|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D.gnu - stringtable implementation
Anybody having luck with the stringtable? I think this is probably just a simple hash table, which might be evidenced by the presence of hash functions in root.c, they don't seem to be called many places, so perhaps they are meant to be used in stringtable::insert, stringtable::update, and stringtable::lookup, all 3 of which are currently just stub functions, and unfortunately their absence makes the front end crash upon execution. Walter, (or anybody else that knows) could you clarify this for me? An idea of how the stringtable is used and how it is composed would be a great help. Thanks, -Jon Jul 30 2002
Jonathan Andrew wrote:Anybody having luck with the stringtable? I think this is probably just a simple hash table, which might be evidenced by the presence of hash functions in root.c, they don't seem to be called many places, so perhaps they are meant to be used in stringtable::insert, stringtable::update, and stringtable::lookup, all 3 of which are currently just stub functions, and unfortunately their absence makes the front end crash upon execution. Jul 31 2002
Just added the stringtable implementation. Seems to work fine. Jan Jonathan Andrew wrote:Anybody having luck with the stringtable? I think this is probably just a simple hash table, which might be evidenced by the presence of hash functions in root.c, they don't seem to be called many places, so perhaps they are meant to be used in stringtable::insert, stringtable::update, and stringtable::lookup, all 3 of which are currently just stub functions, and unfortunately their absence makes the front end crash upon execution. Walter, (or anybody else that knows) could you clarify this for me? An idea of how the stringtable is used and how it is composed would be a great help. Thanks, -Jon Jul 31 2002
Jan Knepper wrote:Just added the stringtable implementation. Seems to work fine. Jan Jul 31 2002
Jonathan Andrew wrote:Hey Jan, sorry to bug you, I replaced the assert(0); in File::remove() in root.c with std::remove((char *)this->name->toChars()); , got it to compile and produce an executable. Jul 31 2002
Jan Knepper wrote:It would read in d source code but wasn't parsing it correctly, complaining about missing semicolons where there were none needed. Jul 31 2002
Jan Knepper wrote:Jan Knepper wrote:It would read in d source code but wasn't parsing it correctly, complaining about missing semicolons where there were none needed. Jul 31 2002
It would read in d source code but wasn't parsing it correctly, complaining about missing semicolons where there were none needed. Aug 01 2002
I posted the source to them in the latest zip. "Jonathan Andrew" <jon ece.arizona.edu> wrote in message news:3D4702CD.3E73F15C ece.arizona.edu...Walter, (or anybody else that knows) could you clarify this for me? An idea of how the stringtable is used and how it is composed would be a great help. Aug 16 2002
Thanks! Will use your's instead in dgcc. Less code to duplicate... Jan Walter wrote:I posted the source to them in the latest zip. "Jonathan Andrew" <jon ece.arizona.edu> wrote in message news:3D4702CD.3E73F15C ece.arizona.edu...Walter, (or anybody else that knows) could you clarify this for me? An idea of how the stringtable is used and how it is composed would be a great help. Aug 16 2002
|