Giter Site home page Giter Site logo

Search on large collections slow. about babe-qt HOT 6 OPEN

milohr avatar milohr commented on July 17, 2024
Search on large collections slow.

from babe-qt.

Comments (6)

milohr avatar milohr commented on July 17, 2024

@evertvorster okay, right now i implemented a qtimer, so it will wait 500 milliseconds after the search query has been entered. :)

from babe-qt.

evertvorster avatar evertvorster commented on July 17, 2024

I'll check in a bit when the repos have synched.
From your description, it appears that babe will now wait for 500ms for new input before starting the search. Its cool, but what if I am a slow typist? Would new input interrupt the previous search?

Thanks for looking into this.
How can I report issues on the KDE phabricator, it must be a pain for you to keep on opening github just to talk to me. Otherwise you can mail me directly at evorster at the usual gmail server.

-Evert-

from babe-qt.

milohr avatar milohr commented on July 17, 2024

@evertvorster right now i'm listening to the signal textEdited, so yes, if you are a slow typist the search would run and when you edited then i would wait another 500ms and then run the search again.
the solution i see here is to listen to the returnPressed instead, so the search would only run when the return key is pressed.

from babe-qt.

evertvorster avatar evertvorster commented on July 17, 2024

from babe-qt.

milohr avatar milohr commented on July 17, 2024

@evertvorster that sounds goo. i will try it :)

from babe-qt.

geneticdrift avatar geneticdrift commented on July 17, 2024

@milohr, there's a utility to create a large fake music collection. It might be useful for testing issues like this one during development.
It uses CDDB to randomly tag music files it duplicates from a template.

from babe-qt.

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.