Hi Nicolas,

Nicolas Goaziou <[email protected]> writes:

> Hello,
>
> Bastien <[email protected]> writes:
>
>> Carsten Dominik <[email protected]> writes:
>>
>>> is org-in-item-p slow?
>>
>> It depends on the size of the list -- see for example this problem,
>> where moving an item within a logbook drawer with many items is too
>> slow:
>>
>> http://thread.gmane.org/gmane.emacs.orgmode/66574
>
> This is a different issue. `org-move-item-down' doesn't use
> `org-in-item-p'. The bottleneck here is, without surprise,
> `org-list-struct', as explained in the comments at the beginning of
> "org-list.el".

I see.  `org-at-item-p' is less expensive than `org-in-item-p' but 
still very expensive as it calls `org-list-in-valid-context-p'.

-- 
 Bastien

Reply via email to