https://bugzilla.wikimedia.org/show_bug.cgi?id=66539

--- Comment #4 from Marius Hoch <[email protected]> ---
(In reply to Daniel Kinzler from comment #3)
> On a second thought: the Lua version of getEntity needs to convert the
> entity to a Lua object (or meta-table or whatever). I don't know how fast or
> slow that is. Perhaps we could also cache the Lua version of the Entity. Can
> we cache objects between Lua invocations in a sane way?

We do in memory caching in Lua as far as I remember, but there's no way we can
store data there longer.

Most of the times when Lua requests an entity it actually only needs a label. I
already talked to Aude about this: We should have a cached label lookup for
Lua, the parser functions and the changes list stuff in order to load labels
without having to load the full entities.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to