GithubHelp home page GithubHelp logo

Comments (6)

NetanelBasal avatar NetanelBasal commented on May 23, 2024 1

Actually you can do it easily with the filterBy option:

selectAll({ filterBy: entity => entity.tags.includes(tagId) })

As for the performance, I don't think there should be a significant problem. Browsers are highly optimized when it comes to for loops. Did you experience a performance issue?

from akita.

NetanelBasal avatar NetanelBasal commented on May 23, 2024 1

Agree, but I think it's hard to develop something that will satisfy all cases.

from akita.

j2L4e avatar j2L4e commented on May 23, 2024

Thanks. You are right, this might be a case of premature optimization. It does have its place though, when you handle larger amounts of normalized data, especially on less powerful clients.

from akita.

hiepxanh avatar hiepxanh commented on May 23, 2024

I think that your case is very good example for the document @j2L4e then should we close this issue?

from akita.

NetanelBasal avatar NetanelBasal commented on May 23, 2024

Yes. Closing for now.

from akita.

oleersoy avatar oleersoy commented on May 23, 2024

There's Relational Pouch so if the store is persisted to pouchdb it might be a good solution performance wise. Hoping to get time to play with it soon.

from akita.

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.