Jump to content

Talk:Bitwise trie with bitmap

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Cewbot (talk | contribs) at 19:00, 28 January 2024 (Maintain {{WPBS}} and vital articles: 1 WikiProject template. Create {{WPBS}}. Keep majority rating "C" in {{WPBS}}. Remove 1 same rating as {{WPBS}} in {{WikiProject Articles for creation}}.). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

CTPOP

[edit]

int bitCount(long x) this i here, shouldn't it be rather v? x -= ((i >>> 1) & 0x5555555555555555L); x = (x & 0x3333333333333333L) + ((x >>> 2) & 0x3333333333333333L); x = (x + (x >>> 4)) & 0x0f0f0f0f0f0f0f0fL; x += (x >>> 8); x += (x >>> 16); x += (x >>> 32); return x & 0x7f; 46.204.12.183 (talk) 09:33, 29 July 2022 (UTC)[reply]