mpv-scripts icon indicating copy to clipboard operation
mpv-scripts copied to clipboard

[SmartSkip]: Use pure-lua-hash.

Open Mark-Joy opened this issue 1 year ago • 1 comments

On Windows, powershell hash takes several seconds (can be up to 1x secs) on the first run, and an average of 300-ms on subsequent runs. Pure lua hash takes only 1-ms even on first run. #151

Mark-Joy avatar Jun 14 '24 08:06 Mark-Joy

Ah I know how we can approach it without forcing users to download the module. Basically, we can make it optional, if the user has the script-module then it will use pure lua, otherwise, it fall backs to powershell.

Can you do this modification?

Eisa01 avatar Jun 20 '24 16:06 Eisa01