Giter Site home page Giter Site logo

Comments (5)

okdistribute avatar okdistribute commented on August 14, 2024 1

The desktop app now only loads messages when you click on a chat. Could still be optimized to only fetch messages in view.

from deltachat-desktop.

r10s avatar r10s commented on August 14, 2024

added these information also do the docs, see deltachat/deltachat-core@1a51676

from deltachat-desktop.

hpk42 avatar hpk42 commented on August 14, 2024

indeed i have a chat with [email protected] with a couple hundred messages and it loads slowly. I think the dc_get_chat_msgs() is fast and only returns a list of msg-ids but then fetching each message takes time. If only the messages in view are fetched i think it'll be super-fast as well like other chats with only 20-30 messages.

from deltachat-desktop.

ralphtheninja avatar ralphtheninja commented on August 14, 2024

What would a "get messages only in view"-algorithm look like? We might want to start thinking about this soonish for desktop. When does dc_get_chat_msgs() become slow? If this remains fast we can keep using it to get the ids and implement something to get a range of ids. Maybe the core could also take a range as input and return a range of messages.

from deltachat-desktop.

hpk42 avatar hpk42 commented on August 14, 2024

from deltachat-desktop.

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.