emacs-orgmode
[Top][All Lists]
Advanced

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

How to improve my extension source code don't generate so many timers?


From: address@hidden
Subject: How to improve my extension source code don't generate so many timers?
Date: Sat, 18 Jul 2020 08:49:38 +0800

I write an extension org-link-beautify (https://github.com/stardiviner/org-link-beautify). It use text-property to display all-the-icons icon for links.
When I use `list-timers`, I found many timers like this:

#+begin_example
1179.80          -    #f(compiled-function () #<bytecode -0x120012ba5f9562c1> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1003358868.jpg" :v-adjust 0.01) remhash])
1179.80          -    #f(compiled-function () #<bytecode -0x11c7991bee93a665> [#<hash-table equal 1440/1642 0x1565afccff6b> ("1004068059.jpg" :v-adjust 0.01) remhash])
1179.80          -    #f(compiled-function () #<bytecode 0x1d09e6f58d6a9d3f> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1004540555.jpg" :v-adjust 0.01) remhash])
1179.80          -    #f(compiled-function () #<bytecode -0x728e7a4499562c5> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1010525956.jpg" :v-adjust 0.01) remhash])
1179.80          -    #f(compiled-function () #<bytecode -0x8917a573e9562c5> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1011541969.jpg" :v-adjust 0.01) remhash])
1179.80          -    #f(compiled-function () #<bytecode -0x8a8404bf993a661> [#<hash-table equal 1440/1642 0x1565afccff6b> ("1011587546.jpg" :v-adjust 0.01) remhash])
1179.80          -    #f(compiled-function () #<bytecode -0x70319646f93a661> [#<hash-table equal 1440/1642 0x1565afccff6b> ("1012116218.jpg" :v-adjust 0.01) remhash])
1179.80          -    #f(compiled-function () #<bytecode -0xa824299ef93a661> [#<hash-table equal 1440/1642 0x1565afccff6b> ("1013965598.jpg" :v-adjust 0.01) remhash])
1179.81          -    #f(compiled-function () #<bytecode -0x91d3e3e9e9562c5> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1014809589.jpg" :v-adjust 0.01) remhash])
1179.81          -    #f(compiled-function () #<bytecode -0xd2810bce79562c5> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1017207950.jpg" :v-adjust 0.01) remhash])
1179.81          -    #f(compiled-function () #<bytecode -0xd581d833693a661> [#<hash-table equal 1440/1642 0x1565afccff6b> ("1018964381.jpg" :v-adjust 0.01) remhash])
1179.81          -    #f(compiled-function () #<bytecode 0x17558f4ad16c599b> [#<hash-table equal 1440/1642 0x1565afccff6b> ("1019711419.jpg" :v-adjust 0.01) remhash])
1179.81          -    #f(compiled-function () #<bytecode 0x1533bff0ac6a9d3f> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1019920854.jpg" :v-adjust 0.01) remhash])
1179.91          -    #f(compiled-function () #<bytecode -0x149f1161329562c8> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1162442495.jpg" :v-adjust 0.01) remhash])
#+end_example

I'm wandering is there someplace I write wrong in my source code:
https://github.com/stardiviner/org-link-beautify/blob/master/org-link-beautify.el

Or maybe this is an mechanism in Org Mode?

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

reply via email to

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