Cache the lines as extracted if they are used right now.
While digging into the code, it seems that the real peak memory actually happens during the _add_inventory_mpdiffs_from_serializer, which is another mpdiff generator that extracts *all* content texts. We should be able to do better.