emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-id-locations as a large-scale database store?


From: yeti
Subject: Re: org-id-locations as a large-scale database store?
Date: Tue, 12 Mar 2024 19:19:32 +0042
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]