User macros in trigger expressions are resolved during configuration cache sync. This was done to avoid multiple macro resolving calls during trigger processing, which would lock configuration cache.
However function parameter macros are still resolved during trigger processing. In some installations that would result in similar cache locking overhead. This could be improved by moving function parameter macro resolving to configuration cache sync.