My first bigger patch. I have joined skoll to be maintainer of MeG code in addition to being the curator. I have a bit more time in my hands so there might be more features more often. I built first a development environment and then started to look at performance improvements.
MeG Enemy List: Major Speed Improvement
The Enemies page is now significantly faster, especially when browsing thousands of enemy templates.
- 78% faster loading: Backend processing reduced from 2 seconds to just 0.43 seconds with approximately 4,500 enemies.
- 99.98% fewer database queries: Reduced from over 9,000 to just 2.
- Faster favorites (stars): Starred enemies are now identified much more efficiently, eliminating thousands of individual database lookups. Star icons display correctly without slowing down the list.
- Scales better: Performance remains efficient even with very large enemy collections.
- Everything still works: Favorites, tags, filtering, and public/private visibility behave as before.
Result: Faster enemy browsing and more efficient handling of starred favorites, without sacrificing functionality.
You will find more on MeG here