[Top][All Lists]

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

Re: [PATCH] Re: Make peg.el a built-in library?

From: Ihor Radchenko
Subject: Re: [PATCH] Re: Make peg.el a built-in library?
Date: Sun, 05 Feb 2023 16:50:10 +0000

Eduardo Ochs <eduardoochs@gmail.com> writes:

>> What do you mean by slower?
> I wrote a simple peg.el parser and it took two seconds to parse an
> input that has just 2KB. The lpeg parser that I use to htmlize some of
> my files take about 0.5s to parse a file with 3MB and to return the
> htmlized version.

There is no fundamental reason why Elisp peg implementation should be
that much slower. I suggest filing a bug report.

I am also wondering if you can share the example file and grammar.

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

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