Hello,
I did a really small patch that avoid one SQL in system_region_list() function. Because we have the current theme information available as a global variable, there is no use to do an SQL query to fetch it back (again) when asking the current theme region list.
I known that D7 needs the patch, then backport it to D6, but the system_region_list() has changed, and does not work the same anymore, so this is NOT about D7 here, this is a really small performance improvement for D6.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | system.module-6.x-system_region_list-performance_fix.patch | 839 bytes | pounard |
| #2 | system.module-system_region_list-performance_fix.patch | 1000 bytes | pounard |
| #1 | system.module-system_region_list-performance_fix.patch | 999 bytes | pounard |
Comments
Comment #1
pounardPatch attached.
EDIT: Wrong patch attached, old non working version.
Comment #2
pounardRight patch attached (first one contains a typo error).
Comment #3
pounardFor fun.
Comment #5
pounardPatch made with git, should pass.