From: Pit Capitain Date: 2005-08-19T15:50:58+09:00 Subject: Re: SWIG Ruby Memory Management Charlie Savage schrieb: > ... > As can be seen in the code below, I have gone down the hashtable route > with a slight twist - I use a Ruby hash table from C to store these > mappings. I did this instead of using a C++ map since I wanted to the > code to be just C and it was easier then implementing a hash table from > scratch in C. > ... I can't say anything about your code, cause I've never used SWIG yet, but it looks like you've done a very nice work. I just wanted to mention a hash table implementation in C which is used in the Ruby source code: just look at st.[hc]. Regards, Pit