GithubHelp home page GithubHelp logo

BFS for Insert path about cuckoofilter HOT 3 OPEN

efficient avatar efficient commented on June 18, 2024
BFS for Insert path

from cuckoofilter.

Comments (3)

jbapple-cloudera avatar jbapple-cloudera commented on June 18, 2024

I have not had luck with prefetching speeding things up when the cycles between the prefetch and the use of the bits numbers in the low dozens.

from cuckoofilter.

dave-andersen avatar dave-andersen commented on June 18, 2024

In the case of the packed table, there's a slightly complex decode step involved that involves more bit manipulation and a dereference into a lookup table. We can actually skip that in the common case (one of the two buckets has space): You don't have to decode the packed bits to get a one-sided error guess if the bucket is full. If all (un-packed) tags are non-zero, you know it's full, so you can avoid one latency worth of the bucket fetch & decode. Interleaving the bucket search in this way should provide for a reasonable speedup for table construction on the packed table.

from cuckoofilter.

scut-lz avatar scut-lz commented on June 18, 2024

Hi,does anyone knows that why the speed for inserting items intio the filter is so slow? Are there any other ideas to speed up the inserting and lookuping?Thx

from cuckoofilter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.