Is the popcount() there even big-endian/little-endian safe? It's not obvious. As well, it will blow on architectures that have a different from x86 idea about the length of int... So one quick test would be to use __builtin_popcount(i) and see if it makes a difference...
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org