-
Notifications
You must be signed in to change notification settings - Fork 219
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
Bible app #470
base: master
Are you sure you want to change the base?
Bible app #470
Conversation
Signed-off-by: Samuel Sloniker <sam@kj7rrv.com>
Signed-off-by: Samuel Sloniker <sam@kj7rrv.com>
My first thought is to ask how much space this takes up. Have you run it on a watch and if so what else fits into the memory at the same time?
It's too early in development to really determine that. The text is stored in flash, and the app won't be able to store much in memory at one time. All this really is right now is a text retrieval library; there's no interface yet.
|
Sorry for deleting my reply, I didn't read your code fully and thought I'd cover up my ignorance! More thoughts:
|
@drtonyr Thank you! I'll take a look at the flash layout discussion. I'd thought about indexing per line, but my current plan is to have the pager read out only as much as it can show per page. I had tried os.listdir(), but was consistently getting MemoryErrors when using it, so I switched to a predefined list. The only reason I can think of to add more books would be to include the Deuterocanon/Apocrypha, and if anyone is interested in that, then those books could be added to the predefined list. Regarding signing, all I'm seeing a requirement for is signing off, which I believe I did? |
Thanks, I'll follow up there.
That sounds right. I couldn't tell how big the chunks were from the index values at the start, I guessed wrong.
Fair enough. We have to balance code storage and RAM, it's not easy! Your directory structure had KJV in it so I guessed that you might be interested in adding other versions.
Indeed you did - I see P.S. I've just remembered something else that wasn't obvious when I started - |
This PR adds a Bible app.