in reply to Re^5: Counting bytes in a Unicode document
in thread Counting bytes in a Unicode document

The point, which regrettably you missed, wasn't the (stat etc)[n] idiom. It's the use of _ as an argument to these operations to reuse the cached results of the last one.

Replies are listed 'Best First'.
Re^7: Counting bytes in a Unicode document
by ikegami (Patriarch) on Oct 23, 2024 at 10:04 UTC

    I used "_" in the post to which you replied. How could I have missed a point you didn't actually make? Like I said, your version ((stat(_))[7]) is—in my opinion—strictly worse than what I posted (-s _).