make lcr faster

This commit is contained in:
Schrottkatze 2024-04-20 16:09:09 +02:00
parent 20daa94697
commit 4a97a34afc
No known key found for this signature in database

View file

@ -798,7 +798,7 @@ def lcr [
] { ] {
ls **/* ls **/*
| where name ends-with $".($file_extension)" | where name ends-with $".($file_extension)"
| each {|file| | par-each {|file|
open $file.name open $file.name
| lines --skip-empty | lines --skip-empty
| length } | length }