Ginormous org-mode tablesI recently decided to take a full inventory of my forty-year-old comic boo…
انتشار: 2026/07/10 20:07 UTC
Ginormous org-mode tablesI recently decided to take a full inventory of my forty-year-old comic book collection, for the first time ever. After exploring some alternatives I decided to put it into an org-mode table, reasoning that if it turned out to be inadequate somehow, exporting from plain text to some other system should be easy.After completing the inventory, I now have a table of 2,859 rows, one for each series (or one-shot) in the collection. Column 1 holds the series names, and column 2 holds the issues, in a format of ranges and duplicates like "1-5, 7x2, 10-15". I created an integer multiset class for handling the issue numbers with their multiplicities, so that, for example, if a series currently has issues "2-6, 9-12", I can add "7-8" and it will change to "2-12" in the table.org-babel works great on the table, as usual. I've written some simple code snippets to, for example, count the total number of issues (13,418), and find which series I have the most issues of (2000 AD).I was curious about whether performance would degrade as the table became very large, and so it did, but in relatively minor ways:- org-table-insert-row takes 1-2 seconds now, and on rare occasions quite a bit longer. I suppose this is because it realigns the entire table.- Manually inserting text in the table is noticeably laggy. I mainly modify the table through helper functions, so this isn't too painful.- I encountered a rare bug where typing a character in the rightmost column resulted in nothing appearing in the table, but the right edge of the table moving one character inwards, as if I'd deleted a character instead of adding one. The character actually is in the cell, as shown by org-table-get-field or by reverting the buffer, but it's fontified or something so as to be invisible and zero-width.Anyway! I'm curious about others' experiences with massive org-mode tables.redd.it/1usyfx8@r_emacs