Comments (3)
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.
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.
@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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forgetsy.