Elektrine lite

← Feed

@boud@framapiaf.org

Post #3379759

2026-06-22 16:32 UTC

@momo@social.linux.pizza @Alison@beige.party $ time echo "9+7" | bc 16 real 0m0.004s user 0m0.005s sys 0m0.001s $ time echo $((9+7)) 16 real 0m0.000s user 0m0.000s sys 0m0.000s

Replies (1)

  • @momo@social.linux.pizza 2026-06-22 16:46

    @boud@framapiaf.org Both significantly shorter than 26 seconds for the GPT4all solution on my laptop CPU. Do you have a point besides "Internal bash operators are obviously faster than a pipe to bc, because they don't have to load a binary and spawn a subshell for the other process to pipe data into"? Because I know that already and decided the difference is irrelevant for that specific purpose. @Alison@beige.party

    Open ##3379760