It's faster than Unicode::GCString->new($str)->columns, but it gives wrong answers to lots of characters, e.g. control characters like "\n", "\t", etc are currently assumed to have width of -1 character. You're better off with Unicode::GCString.
1 out of 1 found this review helpful. Was this review helpful to you? Yes No