hoo added a comment. In https://phabricator.wikimedia.org/T76156#1149612, @daniel wrote:
> 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). Yeah, that's something I would like to talk about in the meeting we have on Friday: A buffered term lookup which supports both loading from entities and the term table (or with whatever we replace the term table). 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: hoo Cc: Liuxinyu970226, aude, Lydia_Pintscher, daniel, hoo, Wikidata-bugs, GWicke _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
