dragonflyoss / Dragonfly2

Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project.
https://d7y.io
Apache License 2.0
2.26k stars 287 forks source link

Replace bitmap with bitset #1974

Open gaius-qi opened 1 year ago

gaius-qi commented 1 year ago

Feature request:

Replace https://github.com/dragonflyoss/Dragonfly2/blob/main/client/daemon/peer/peertask_bitmap.go with https://github.com/bits-and-blooms/bitset.

Use case:

UI Example:

hzliangbin commented 1 year ago

@bigerous gentle ping. any progress?

khareyash05 commented 1 year ago

I would like to give it a try.