Bug 443928 - Building large Java element deltas is really slow

Change-Id: I1e9fe35ae24a446670969e4d2d63af1191bc60b9
Signed-off-by: Vladimir Piskarev <pisv@1c.ru>