Issue Bug Closed

#53918t3skin calls addIconSprite for each language

Michiel Roos 11/25/13, 11:38 updated 10/02/18, 12:09

Description

The t3skin extension adds icon sprites for each language. And that’s great, but not so great that it takes 22 ms to add all the icon sprites for each language and an overlay icon because the addIconSprite is called for each language.

Instead the iconArray can be built up and submitted once to addIconSprite.

This saves 248 calls to addIconSprite which calls array_merge etc.

This saves ~ 22 ms for each request.

Reviews 3