Using this macro to display icons that are large in terms of icon states and frames can take a long to display...but I kind of wonder why.
The icon is already cached, it's in the resources. Why does the outputting of a single frame of an icon that already exists take so long? It doesn't seem as if it'd take long...but it does.
I know there are ways to do it faster, such as to just \icon[icon(icon, icon_state]) or something, which would create JUST the specific frame/icon state you need as a new file in the resources, but...I think this uses more processing power, and obviously creates more resources.