From: Christoph Date: 2002-08-27T08:40:37+09:00 Subject: Re: Ruby and Judy "Douglas Baskins" wrote in .... > Please welcome/challenge/invite anybody to to add a faster/cheaper > method than the 4 included in this program. (Also I will be updating > it to output more detailed data soon -- to begin investigating JudySL > with short strings and/or at small populations). Hi, I was trying to compile judy with vc7 - so far no luck;-( yet) ... so what is the official status of a port to mswin32, mingw32 and the many ``non-linux'', ``non-hp'' unixes? /Christoph Here are some off-topic thougths about the missing byteswap assembly macro for the mswin32 platform - either wrap the assembly bswap instruction in a function unsigned __int32 bswap32(unsigned __int32 word) { __asm { mov eax, word bswap eax } } or use a straight assembly macro #define SET_BSWAP32(x,y) \ __asm \ { \ __asm mov eax, ((y)) \ __asm bswap eax \ __asm mov ((x)) , eax \ } and use the SET_BSWAP32 instead of judy's __BSWAP32 macro (essentielly there are only two places).