jnthn / spreadsheet-xlsx

Work with Excel (XLSX) spreadsheets in Raku.
15 stars 10 forks source link

Add `max-row` method on Worksheet #16

Closed vrurg closed 1 year ago

vrurg commented 1 year ago

Reports how many rows are actually used in a sheet.

vrurg commented 1 year ago

For this PR I have an alternate implementation in mind, using AttrX::Mooish. The module is using a lot of lazyness all around and, correspondingly, a lot of unless .uninitialized { .initialize }. But that can be automated and would let remove some extra method calls where it is to be guaranteed that an attribute is actually set.