emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: yeti <yeti@tilde.institute>
To: emacs-orgmode@gnu.org
Subject: Re: org-id-locations as a large-scale database store?
Date: Tue, 12 Mar 2024 19:19:32 +0042	[thread overview]
Message-ID: <87cyrz2t5f.fsf@tilde.institute> (raw)
In-Reply-To: 87jzm7jrjj.fsf@localhost

Ihor Radchenko <yantar92@posteo.net> writes:

> yeti <yeti@tilde.institute> writes:
>
>> Laurence von Bottorff <borgauf@gmail.com> writes:
>>
>>> So again, is this org-brain approach DOA for anything big?
>>
>> I like it, but even my small pool of notes is slow with org-brain.
>>
>> -------------------------------8<---------------------------------------
>> ~ $ hash-table-size $org-id-locations
>> 1322
>> ------------------------------->8---------------------------------------
>
> Does org-brain have anything to do with org-id-locations?

I think so...

E.g. org-brain.el 788-794:

-------------------------------8<---------------------------------------
(defun org-brain-entry-from-id (id)
  "Get entry from ID."
  (unless org-id-locations (org-id-locations-load))
  (when-let ((path (gethash id org-id-locations)))
    (list (org-brain-path-entry-name path)
          (org-brain-headline-at (org-id-find id t))
          id)))
------------------------------->8---------------------------------------

-- 
I do not bite, I just want to play.



  reply	other threads:[~2024-03-12 18:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12  5:03 org-id-locations as a large-scale database store? Laurence von Bottorff
2024-03-12 16:49 ` yeti
2024-03-12 17:00   ` Rick Lupton
2024-03-12 17:20   ` Ihor Radchenko
2024-03-12 18:37     ` yeti [this message]
2024-03-12 18:47       ` Ihor Radchenko
2024-03-12 20:57         ` Laurence von Bottorff
2024-03-12 21:16           ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyrz2t5f.fsf@tilde.institute \
    --to=yeti@tilde.institute \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).