Giter Club home page Giter Club logo

Comments (3)

cavvia avatar cavvia commented on August 11, 2024

Thanks for this report and sorry for the delay in getting back to you. I cannot delegate the limit parameter :n to the secondary set fetch as it needs to be applied after normalizing the primary set by the secondary.

One potential fix is to declare a more aggressive hi_pass_filter constant - this is used when trimming the set at query time. I could turn that into an ENV var if that helps. You can then tune that to ensure your sets never hit a size over the limit.

Another approach I use is to trim sets back to around 50k periodically (after a descending score sort).

from forgetsy.

cavvia avatar cavvia commented on August 11, 2024

Another option is slowing down the Hash assignment by using an iterator or other method... I can try to benchmark that to see if it will be feasible performance wise as this all runs at query time. That should allow scaling to very large number of items.

from forgetsy.

dylancopeland avatar dylancopeland commented on August 11, 2024

@cavvia Thanks for this great gem! I just started playing around with it and unfortunately came across the same problem as @atitan.

Did slowing down the hash assignment prove to be successful? I am trying to determine the best way to move forward with forgetsy.

from forgetsy.

Related Issues (4)

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.