Changes between Initial Version and Version 1 of Ticket #50787, comment 8
- Timestamp:
- 10/14/2020 10:00:09 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #50787, comment 8
initial v1 15 15 16 16 Each time the function is called, the `$strings` array rebuilds. This means each `__()` has to run again, ie there are 12 of them. Is this necessary? Do we need to retranslate and rebuild the array each time the function is invoked? 17 18 We can use memoization for a tiny peformance boost.