From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17544 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Markdown for AMP Project https://www.ampproject.org/ Date: Wed, 3 May 2017 12:28:52 +0200 Message-ID: <20170503102852.GF17566@Administrateurs-iMac-3.local> References: <74722d2b-3362-48e3-a0b4-fa4502bc8005@googlegroups.com> <886bb176-054d-4e41-ba2e-7058e30ad355@googlegroups.com> <382a2f59-fca3-4409-8b05-10bd7e884a70@googlegroups.com> <01c43386-de61-d9c5-7db0-9e422e7aeddd@F123.org> <20170501171417.GA2499@protected.rcdrun.com> <20170502212420.GB3957@protected.rcdrun.com> <20170503094738.GB17566@Administrateurs-iMac-3.local> <20170503100958.GB1547@protected.rcdrun.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Trace: blaine.gmane.org 1493807386 1040 195.159.176.226 (3 May 2017 10:29:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 May 2017 10:29:46 +0000 (UTC) User-Agent: Mutt/1.7.0 (2016-08-17) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBGPCU3EAKGQEVVBIDEA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 03 12:29:41 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yb0-f189.google.com ([209.85.213.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5rXQ-00009N-BK for gtp-pandoc-discuss@m.gmane.org; Wed, 03 May 2017 12:29:40 +0200 Original-Received: by mail-yb0-f189.google.com with SMTP id b2sf18014719yba.1 for ; Wed, 03 May 2017 03:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=aQl0C9TNB+Tl2qZsVjTVCvw9CLvNjdEWvbnyzrKZ0ac=; b=ehEge3lK5XdvSPTywWKL6ipHy114322TTueKZdk1DFctEav+IHYigwwXK2CJoK292p A1vdlzQwFYY9iEDBTjKdFm7+Lv/244cyum/yvUQS/l67QjlfsXacj1A65WP35dABrHu/ tngVsyi5UymwXCQZj7MblPr9Sqx+bnyIdKnessEusc+6ZxU2U/2VdMDxO2HgJGyl6pGS sEJn2cPz2J8N2jEzcDSetTFRyM+7CB4aMqePXlv+CILbFqXbAxQ8KK0bEn0ERCMSQeaA 3OIQ4enjy2qruKqyMURfdjlazlxQ6+UOtfBRoX1cAGf/G/FDGQY6ftxtU++yNBeAacdg +vpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=aQl0C9TNB+Tl2qZsVjTVCvw9CLvNjdEWvbnyzrKZ0ac=; b=txukv7ncH7L+j9Lb0xFK+GHe0+1kY3oQrYL//32bS6Jz8mMwlC/SjKv7t/LaKW2k+b K1mYTIJ6TZmaWG9HWaOvFkf0kSQ+eTiPHrlvIeij5dIApOlut4P1Y1F1YNeCiSQ3QYrH WSZoAfOQId2rakqVSY4QlYPomsR5QTwvAXfAtwyFzz+yOUGpdRSNUdbsxcvRF1BScnZR zAuOED9/uXFIoZ6djxNwWBqBfK9JXnaJj0vofpKR0A5vMpqylxlZ4xa8MjloqChat/T9 VriHg7U/fkaHd7SReLfVV43MCOOZBS3CVtfVy0uYhvY3tp0pfdxcvyau1XuCc41KmWs+ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AN3rC/4DAW/NuicToW1B0e5vF02nT0A19pnXzb6TwErB2MrXjAsVNc3+ cu2mJfa10nC8Mw== X-Received: by 10.157.82.15 with SMTP id e15mr733824oth.6.1493807386026; Wed, 03 May 2017 03:29:46 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.56.90 with SMTP id r26ls3263138otd.0.gmail; Wed, 03 May 2017 03:29:45 -0700 (PDT) X-Received: by 10.31.60.203 with SMTP id j194mr13409249vka.18.1493807385606; Wed, 03 May 2017 03:29:45 -0700 (PDT) Original-Received: from mail-pg0-x230.google.com (mail-pg0-x230.google.com. [2607:f8b0:400e:c05::230]) by gmr-mx.google.com with ESMTPS id m67si22304pfm.0.2017.05.03.03.29.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 May 2017 03:29:45 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 as permitted sender) client-ip=2607:f8b0:400e:c05::230; Original-Received: by mail-pg0-x230.google.com with SMTP id o3so70898479pgn.2 for ; Wed, 03 May 2017 03:29:45 -0700 (PDT) X-Received: by 10.98.166.21 with SMTP id t21mr4055671pfe.120.1493807385131; Wed, 03 May 2017 03:29:45 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id g66sm16028217pgc.2.2017.05.03.03.29.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 May 2017 03:29:44 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id AA478A176; Wed, 3 May 2017 06:29:33 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20170503100958.GB1547-vvHXCvOI15V+RnA8QueWCFaTQe2KTcn/@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17544 Archived-At: And this is even faster and smaller: https://github.com/mity/md4c +++ support1-ZohPw8X7yHTQT0dZR+AlfA@public.gmane.org [May 03 17 13:09 ]: >On Wed, May 03, 2017 at 11:47:39AM +0200, John MacFarlane wrote: >> As an alternative to discount, you might try cmark, which is >> about 6X faster than discount and supports the CommonMark standard. > >Thank you much. Good to know. > >I did not perform other tests, just my own simple test, and it is >faster for 1 second than discount markdown. > >time lisp -x '(loop for i from 1 to 1000 do (shell "./cmark ~/tmp/benchmark.md > /dev/null" ))' >NIL > >real 0m5.062s >user 0m0.096s >sys 0m0.020s > >-- >You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. >To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20170503100958.GB1547%40protected.rcdrun.com. >For more options, visit https://groups.google.com/d/optout.