daniel added a comment. The only downside I see is the case that you first access the labels, which get fetched from the terms table, and later more of the data structure, which would cause the entire entity to be loaded. In that case, loading the full entity right away would have been quicker.
This issue would be mitigated by pre-loading not only labels, but also full entities, based on usage tracking: if the X or O aspect is used, pre-load the entire entity (and skip preloading of labels, maybe even push labels from the entity into the label cache). TASK DETAIL https://phabricator.wikimedia.org/T76156 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: daniel Cc: Liuxinyu970226, aude, Lydia_Pintscher, daniel, hoo, Wikidata-bugs, GWicke _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
