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

--- Comment #6 from Daniel Kinzler <daniel.kinz...@wikimedia.de> ---
The current implementation of EntityContent::getSize() is:

  return strlen( serialize( $this->getNativeData() ) );

I suppose that can be improved. It would probably already help to ignore all
the keys in the arrays; we could use array_walk_recursive to calculate the site
efficiently.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to