From c431f909d64c5d97bbcb75de31347b799778df33 Mon Sep 17 00:00:00 2001 From: lemon24 Date: Sun, 26 Jan 2025 12:49:23 +0200 Subject: [PATCH] dev.rst: https://blog.glyph.im/2022/12/potato-programming.html --- docs/dev.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/dev.rst b/docs/dev.rst index d1adaf33..3e2abc5d 100644 --- a/docs/dev.rst +++ b/docs/dev.rst @@ -663,6 +663,8 @@ Why I want to postpone batch update/set methods: tl:dr: Performance is likely a non-issue with SQLite, convenience can be added on top as a plugin. +(2025) Why it may be worth adding batch interfaces anyway (even if underneath the storage implementation doesn't actually batch) – it allows for future optimization: https://blog.glyph.im/2022/12/potato-programming.html + See the 2.12 reader._app.ResourceTags class for an idea of how to represent a bunch of tags in a reserved-name-scheme-agnostic way (useful e.g. for when get_entries() should return tags x, y, z of each entry).