From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathaniel Flath Subject: Re: [PATH] Speedups to org-table-recalculate Date: Mon, 1 Dec 2014 01:02:56 -0500 Message-ID: References: <87oas9tnlm.fsf@selenimh.mobile.lan> <87oas03ze0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b34318aa7652e0509215cfd Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvK4Z-0006cT-VR for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 01:03:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvK4Y-0004R2-QY for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 01:02:59 -0500 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:57659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvK4Y-0004Pa-62 for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 01:02:58 -0500 Received: by mail-la0-f45.google.com with SMTP id gq15so8172373lab.32 for ; Sun, 30 Nov 2014 22:02:56 -0800 (PST) In-Reply-To: <87oas03ze0.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nathaniel Flath , Michael Brand , org-mode List --047d7b34318aa7652e0509215cfd Content-Type: multipart/alternative; boundary=047d7b34318aa7652a0509215cfb --047d7b34318aa7652a0509215cfb Content-Type: text/plain; charset=UTF-8 Changed it to just a function - you are correct, for this purpose I don't need a macro. On Fri, Nov 21, 2014 at 6:30 PM, Nicolas Goaziou wrote: > Nathaniel Flath writes: > > > OK, I think I fixed that. > > Thanks. > > I didn't verify it compiles, but your macro still looks suspicious. > > > +(defmacro org-table-execute-once-per-second (t1 &rest body) > > + "If there has been more than one second since T1, execute BODY. > > +Updates T1 to 'current-time' if this condition is met. If T1 is > > +nil, always execute body." > > + `(let ((t1 ,t1)) > > + (if t1 > > + (let ((curtime (current-time))) > > + (when (< 0 (nth 1 (time-subtract curtime t1))) > > + (setq t1 curtime) > > + ,@body)) > > + ,@body))) > > You shouldn't splice BODY twice in your macro. Also, I don't get why you > need to (setq t1 curtime). > > Do you need a macro at all for this task? ISTM you only need to display > a message conditionally and update a time value. > > > Regard, > --047d7b34318aa7652a0509215cfb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Changed it to just a function - you are correct, for this = purpose I don't need a macro.

<= div class=3D"gmail_quote">On Fri, Nov 21, 2014 at 6:30 PM, Nicolas Goaziou = <mail@nicolasgoaziou.fr> wrote:
Nathaniel Flath <flat0103@gmail.com> writes:

> OK, I think I fixed that.

Thanks.

I didn't verify it compiles, but your macro still looks suspicious.

> +(defmacro org-table-execute-once-per-second (t1 &rest body)
> +=C2=A0 "If there has been more than one second since T1, execute= BODY.
> +Updates T1 to 'current-time' if this condition is met. If T1 = is
> +nil, always execute body."
> +=C2=A0 `(let ((t1 ,t1))
> +=C2=A0 =C2=A0 =C2=A0(if t1
> +=C2=A0 =C2=A0 =C2=A0 (let ((curtime (current-time)))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 (when (< 0 (nth 1 (time-subtract curti= me t1)))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq t1 curtime)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 ,@body))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0,@body)))

You shouldn't splice BODY twice in your macro. Also, I don't get wh= y you
need to (setq t1 curtime).

Do you need a macro at all for this task? ISTM you only need to display
a message conditionally and update a time value.


Regard,

--047d7b34318aa7652a0509215cfb-- --047d7b34318aa7652e0509215cfd Content-Type: application/octet-stream; name="0001-org-table.el-org-table-recalculate-is-quieter.patch" Content-Disposition: attachment; filename="0001-org-table.el-org-table-recalculate-is-quieter.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i35fhd3p0 RnJvbSA2YTMyOTFjZGQ3ZjllNzNlYTMwNmMxYmNlYTE0ZDc1OGQzYjFkOGI4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOYXRoYW5pZWwgRmxhdGggPGZsYXQwMTAzQGdtYWlsLmNvbT4K RGF0ZTogV2VkLCAxMiBOb3YgMjAxNCAxNzoxNTowMyArMDUzMApTdWJqZWN0OiBbUEFUQ0hdIG9y Zy10YWJsZS5lbDogb3JnLXRhYmxlLXJlY2FsY3VsYXRlIGlzIHF1aWV0ZXIKCiogbGlzcC9vcmct dGFibGUuZWwgKG9yZy10YWJsZS1yZWNhbGN1bGF0ZSk6IFJlbW92ZWQgbWVzc2FnZSBmb3Igc3Rh cnQgb2YKcHJvY2Vzc2luZy4gIFdoZW4gQUxMIGlzIHQsIG1lc3NhZ2VzIGFyZSBwcmludGVkIGF0 IG1vc3Qgb25jZSBwZXIgc2Vjb25kLgotLS0KIGxpc3Avb3JnLXRhYmxlLmVsIHwgNDcgKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKystLS0tLS0tLS0KIDEgZmlsZSBjaGFuZ2Vk LCAzOCBpbnNlcnRpb25zKCspLCA5IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3Avb3Jn LXRhYmxlLmVsIGIvbGlzcC9vcmctdGFibGUuZWwKaW5kZXggMjEzOWQ4Ni4uYTViNWIyYyAxMDA2 NDQKLS0tIGEvbGlzcC9vcmctdGFibGUuZWwKKysrIGIvbGlzcC9vcmctdGFibGUuZWwKQEAgLTI5 OTUsNiArMjk5NSwyMCBAQCBsaXN0LCAnbGl0ZXJhbCBpcyBmb3IgdGhlIGZvcm1hdCBzcGVjaWZp ZXIgTC4iCiAJCSAgIGVsZW1lbnRzCiAJCSAgICIsIikg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W5kIG9yZy10YWJsZS1tYXktbmVlZC11cGRh dGUgKG9yZy10YWJsZS1hbGlnbikpCi0JICAgIChhbmQgYWxsIChtZXNzYWdlICJSZS1hcHBseWlu ZyBmb3JtdWxhcyB0byAlZCBsaW5lcy4uLmRvbmUiIGNudCkpKQorCSAgICAoYW5kIGFsbCAob3Jn LXRhYmxlLW1lc3NhZ2Utb25jZS1wZXItc2Vjb25kCisJCSAgICAgIGxvZy1maXJzdC10aW1lCisJ CSAgICAgICJSZS1hcHBseWluZyBmb3JtdWxhcyB0byAlZCBsaW5lcy4uLmRvbmUiIGNudCkpKQor CiAKIAk7OyBiYWNrIHRvIGluaXRpYWwgcG9zaXRpb24KLQkobWVzc2FnZSAiUmUtYXBwbHlpbmcg Zm9ybXVsYXMuLi5kb25lIikKKwkob3JnLXRhYmxlLW1lc3NhZ2Utb25jZS1wZXItc2Vjb25kCisg ICAgICAgICAod2hlbiBhbGwgbG9nLWZpcnN0LXRpbWUpCisgICAgICAgICAiUmUtYXBwbHlpbmcg Zm9ybXVsYXMuLi5kb25lIikKKwogCShvcmctZ290by1saW5lIHRoaXNsaW5lKQogCShvcmctdGFi bGUtZ290by1jb2x1bW4gdGhpc2NvbCkKLQkob3Igbm9hbGlnbiAoYW5kIG9yZy10YWJsZS1tYXkt bmVlZC11cGRhdGUgKG9yZy10YWJsZS1hbGlnbikpCi0JICAgIChhbmQgYWxsIChtZXNzYWdlICJS ZS1hcHBseWluZyBmb3JtdWxhcy4uLmRvbmUiKSkpKSkpKQorCShvciBub2FsaWduIChhbmQgb3Jn LXRhYmxlLW1heS1uZWVkLXVwZGF0ZSAob3JnLXRhYmxlLWFsaWduKSkpKSkpKQogCiA7OzsjIyNh dXRvbG9hZAogKGRlZnVuIG9yZy10YWJsZS1pdGVyYXRlICgmb3B0aW9uYWwgYXJnKQotLSAKMS44 LjUuMiAoQXBwbGUgR2l0LTQ4KQoK --047d7b34318aa7652e0509215cfd Content-Type: application/octet-stream; name="0001-org-table.el-org-table-recalculate-early-returns(1).patch" Content-Disposition: attachment; filename="0001-org-table.el-org-table-recalculate-early-returns(1).patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i35fk1nf1 RnJvbSBlYWYxMjExNDYwZjQyMTkwMDJhYWNiYmMzM2Q0Y2M1ODU3NGJmN2M0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOYXRoYW5pZWwgRmxhdGggPGZsYXQwMTAzQGdtYWlsLmNvbT4K RGF0ZTogU3VuLCAxOSBPY3QgMjAxNCAyMTowNDozMSAtMDQwMApTdWJqZWN0OiBbUEFUQ0ggMS8y XSBvcmctdGFibGUuZWw6IG9yZy10YWJsZS1yZWNhbGN1bGF0ZSBlYXJseSByZXR1cm5zCgoqIGxp c3Avb3JnLXRhYmxlLmVsIChvcmctdGFibGUtcmVjYWxjdWxhdGUpOiBBZGQgZWFybHkgcmV0dXJu LgotLS0KIGxpc3Avb3JnLXRhYmxlLmVsIHwgMjYzICsrKysrKysrKysrKysrKysrKysrKysrKysr KystLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogMSBmaWxlIGNoYW5nZWQsIDEzNCBpbnNlcnRp b25zKCspLCAxMjkgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9vcmctdGFibGUuZWwg Yi9saXNwL29yZy10YWJsZS5lbAppbmRleCAzZGI2MDg3Li44MTY3MDllIDEwMDY0NAotLS0gYS9s aXNwL29yZy10YWJsZS5lbAorKysgYi9saXNwL29yZy10YWJsZS5lbApAQCAtMzA0MCwxMzYgKzMw NDAsMTQxIEBAIGtub3duIHRoYXQgdGhlIHRhYmxlIHdpbGwgYmUgcmVhbGlnbmVkIGEgbGl0dGxl IGxhdGVyIGFueXdheS4iCiAJICAgc2Vlbi1maWVsZHMgbGhzMQogCSAgIGJlZyBlbmQgZW50cnkg ZXFsbnVtIGVxbG5hbWUgZXFsbmFtZTEgZXFsIChjbnQgMCkgZXEgYSBuYW1lIG5h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