Variable_set is a rather cumbersome function, since it makes a table modification and invalidates the cache of variables which must therefore be reloaded. It is therefore necessary to do so only when a modification is actually made, not in a systematic manner at each loading as this module does

Comments

zied_bhar created an issue. See original summary.

zied_bhar’s picture

StatusFileSize
new832 bytes
renatog’s picture

Assigned: zied_bhar » renatog
Issue tags: +ciandt-contrib
renatog’s picture

Assigned: renatog » Unassigned
Status: Active » Reviewed & tested by the community
StatusFileSize
new860 bytes

Hi @zied_bhar

You're right. Make sense set in variable only if has modifications.

I re-generate a new patch because code is updated okay?! New patch it's in attachment.

Works fine for me.

+RTBC

Regards.

rhormens’s picture

Thanks guys.
I will commit!

Please wait a new release.

  • rhormens committed 3564b46 on 7.x-2.x authored by RenatoG
    Issue #2881362 by zied_bhar, RenatoG, rhormens: Performance optimisation
    
rhormens’s picture

rhormens’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.