SMF
SMF copied to clipboard
Rewrite board permission reports to use less memory
- A side effect is more speed which is expected because memory allocations are slow.
- This retains the same behavior which duplicates permission profiles for the sake of showing one table per board. Should these be grouped?
- The template with the file pointer uses 20 fewer MB than the one with the echo statements—74 MB vs 92 MB—in my test (previous code swallowed over 500 MB)
- Fixes #7142
Updated code: 425k, 2.5 s to get that and 170,000 ms to load the page. fwrites code: 394kb, 9s to get all that. 230,000 ms to load the page.
The updated code I think is the best, the fwrites had my browser running some cpu for a bit. not sure why.
Any updates on this, @live627? I would like to get this fixed as soon as we can.