Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [ISSUE] [CLOSED] Improve vsed performance?
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11238@inbox.vuxu.org>
@ 2019-07-17  6:46 ` voidlinux-github
  0 siblings, 0 replies; only message in thread
From: voidlinux-github @ 2019-07-17  6:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

Closed issue by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/11238
Description: The commit https://github.com/void-linux/void-packages/commit/673504e52457b17bc9e8c0a3fefe3eae10d19d60 introduces vsed and a way how to recognize non-working or not-working-anymore issues with seds. 

The way this is currently handled is that for each and every sed there will be one call to sha256sum before and after each regex on each file. 

Since the vsed script does not error out on issues I suggest to once call sha256sum for all files before and after each regex and then use the diff of those to generate files not modified. Not sure how much faster this is but I believe it could be quite a bit depending on how excessive vsed is used.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-17  6:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11238@inbox.vuxu.org>
2019-07-17  6:46 ` [ISSUE] [CLOSED] Improve vsed performance? voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).