[Github-comments] [geany/geany-plugins] GeanyLua: Enable running scripts for all signals (#1112)

xiota notifications at xxxxx
Mon Oct 4 11:52:52 UTC 2021


@elextr

> I suggest all the signal scripts be checked for existence at plugin start, not checking the file system every signal.

What problem does this really solve?  Only 0.001 nanoseconds is spent per keystroke checking that the file exists.  That results in 4.38 min for a year of non-stop typing at 100 wpm.  Even pro-writers would be hard pressed to lose more than 30sec per year of normal use to the checks.  Meanwhile, performing the check once at startup eats up programming time, introduces the potential for bugs, and wastes users' time when their scripts don't work and they have to spend time researching the command to update the plugin state.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1112#issuecomment-933408084
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211004/ba59c3e7/attachment.htm>


More information about the Github-comments mailing list