I am about to port renderkit to Drupal 8.
The D7 version contains an interface EntityDisplayInterface, which builds render arrays from entities.
In the D7 version, this contains one method
buildEntities($entity_type, $entity); which allows to process multiple entities at once. The idea here was that this could speed up performance.
For D8, I wonder if this is still relevant. E.g. it seems that D8 views really renders each entity separately. And even though there is EntityViewBuilder::viewMultiple(), this really does most of its processing within the foreach(), so separate per entity.
So.. should I drop the
buildEntities() method in D8, and only leave