Robert:
I am afraid I mislead you. I failed to notice you were using a Microsoft 64
bit compiler. That 64 bit compiler makesa long 32 bits in length instead of 64
bits. I.e. a constant 1L is only 32 bits. I never anticipated Microsoft
woulddo that. So, every constant that has a L or UL needs to be cast to
probably ((Word_t) <constant>). There is another issue. Unless forced by
casting all struct members are long long aligned. That make the jp_t struct
not correct. I dont have a Microsoft platform to do testing, so I suggest you
try finding a Judy that works withMicrosoft 64 bit compiler on the Web. Please
send me a copy if you find one that works.
Thanks in advance,
Doug
Doug Baskins <[email protected]>
On Thursday, December 28, 2017, 4:40:45 PM GMT+7, Robert Gregory
<[email protected]> wrote:
<!--#yiv5479465615 _filtered #yiv5479465615 {font-family:"Cambria
Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv5479465615
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv5479465615
#yiv5479465615 p.yiv5479465615MsoNormal, #yiv5479465615
li.yiv5479465615MsoNormal, #yiv5479465615 div.yiv5479465615MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri",
sans-serif;}#yiv5479465615 p.yiv5479465615MsoListParagraph, #yiv5479465615
li.yiv5479465615MsoListParagraph, #yiv5479465615
div.yiv5479465615MsoListParagraph
{margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri",
sans-serif;}#yiv5479465615 .yiv5479465615MsoChpDefault {} _filtered
#yiv5479465615 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv5479465615
div.yiv5479465615WordSection1 {}#yiv5479465615 _filtered #yiv5479465615 {}
_filtered #yiv5479465615 {} _filtered #yiv5479465615 {} _filtered
#yiv5479465615 {} _filtered #yiv5479465615 {} _filtered #yiv5479465615 {}
_filtered #yiv5479465615 {} _filtered #yiv5479465615 {} _filtered
#yiv5479465615 {} _filtered #yiv5479465615 {}#yiv5479465615 ol
{margin-bottom:0in;}#yiv5479465615 ul {margin-bottom:0in;}-->
Two Questions –
- Are you still alive?
- Would you mind answering a highly targeted question regarding your 64-bit
implementation of Judy arrays?
If the answer to question 1 is “no”, no reply is expected and question 2 is
moot. If the answer to question 1 is “yes,” a reply to question #2 would be
appreciated. If the reply to question 2 is “no,” have a happy new year (albeit
free from further cheerful e-mail interruptions by me).
[My question deals with an issue in JudyPrivate.h not directly addressed by the
Wiki page version of the file. Using VC2013 (or Pelles C), lines 1586, 1593,
and 1600 reference defined code which raises warning 4293 (shift too large) due
to the fact that *something* which should be a Word_T (unsigned long long) is
being treated instead as an unsigned long. I’ve stared at this for a while and
don’t see anything obvious… but I may just be tired. In any event, everything
is fine with 32 bit… and the first insertion works on 64 bit; however,
subsequent insertions appear to work but indeed do not.]
-Rob Gregory
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel