View Single Post
06-30-18, 11:56 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
Originally Posted by nixchecker View Post
The other thing is that on the PTR right now, GetRegisteredAddonMessagePrefixes disregards the table argument, and always returns a new table
I have noticed a somewhat disturbing trend where all these new changes and reorganizations in WoW's Lua have zero regard for memory. Using large amounts of memory is one thing, such as giant tables of data or caching function returns, but dumping large amounts for garbage to constantly collect is ridiculous. Generating a new table every function return can only be the work of someone that doesn't know what they're doing. This prefix function isn't expected to be called that often, but the other thread on map position is something potentially usable in an OnUpdate.
  Reply With Quote