Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimisation for opening large documents. #261

Open
casperl opened this issue Sep 17, 2022 · 0 comments
Open

Optimisation for opening large documents. #261

casperl opened this issue Sep 17, 2022 · 0 comments

Comments

@casperl
Copy link

casperl commented Sep 17, 2022

One of my planned Gemini projects is to place the Berean Study Bible online both as a unified document and as each book split into different chapters where each will be a file. It takes an instant to load the entire 4Mb Berean Study Bible into NVIM and less than to seconds to load and display the same Bible in Lagrange. The timing of Kristal to load and display the Berean Study Bible is unacceptably long — see the attached screenshot.

The file being loaded is not online but on the local file system and loaded with the file:///path/to/file.gmi URL.

image

EDIT: I realise that optimisation is a process that should wait until other major goals are achieved first, but it will improve the user experience if an indicator is displayed that the file is being retrieved, perhaps a progress bar of some sort. At present nothing happens other than a garbled screen until Kristall has fully loaded the file. The first time(s) this happened, I assumed Kristall had crashed, which was not the case since the screen was restored once loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant