dedup initial version
dedup bitset and native implementation and perf comparision