Sujet : Re: Command Languages Versus Programming Languages
De : merlyn (at) *nospam* stonehenge.com (Randal L. Schwartz)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 21. Nov 2024, 14:38:45
Autres entêtes
Organisation : Stonehenge Consulting Services; Portland, Oregon, USA
Message-ID : <86bjy8n1ui.fsf@red.stonehenge.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix)
"Rainer" == Rainer Weikusat <rweikusat@talktalk.net> writes:
Rainer> ¹ I used to use a JSON parser written in OO-Perl which made
Rainer> extensive use of regexes for that. I've recently replaced that
Rainer> with a C/XS version which - while slightly larger (617 vs 410
Rainer> lines of text) - is over a hundred times faster and conceptually
Rainer> simpler at the same time.
I wonder if that was my famous "JSON parser in a single regex" from
https://www.perlmonks.org/?node_id=995856, or from one of the two CPAN
modules that incorporated it.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>Perl/Dart/Flutter consulting, Technical writing, Comedy, etc. etc.Still trying to think of something clever for the fourth line of this .sig