Call .attributes() once per feature and store the results.