Completing myself, Nicolas Goaziou <n.goaz...@gmail.com> writes:
> Speed is the whole point, indeed. A quick profiling with and without > defsubst gives me: > > | defsubst | org-element-parse-buffer | 10 | 16.252699 | 1.6252699 | > | defun | org-element-parse-buffer | 10 | 19.812426 | 1.9812425999 | > > It is about 20 % faster. On the other hand, `org-element-type' and al. from org.el are called less often. So, it is not a problem if they are compiled as function calls. Eventually, I'd say that the situation is fine as it is. Regards, -- Nicolas Goaziou