ID:116206
 
I'm not sure if this is BYOND bug or what. However it seems when you have huge icons (icons that have even up to a thousand icon states) and you try to compile, the compiler will freeze and take a especially long period to compile or just not compile at all.

Has anyone experienced this before?



Edit.

This only happens when you set an object's default icon to a huge icon file. Otherwise it doesn't take any time at all. I've had to work around it by giving objects their default icons under New()
I have sadly v.v
you truly are a byond macgyver
Only with large projects containing numerous sub directories.

You can try turning off automatically set FILE_DIR in DM's preferences and then updating your code accordingly, but that's probably not the problem here. The problem is probably that you just have loads of icon states.
Common sense: Compiling large files into a smaller file takes time; larger files mean more time.
Hmm, I believe I didn't make myself clear enough.

This only happens when you set an object's default icon to a huge icon file. Otherwise it doesn't take any time at all. I've had to work around it by giving objects their default icons under New()

Therefore, your common sense doesn't really seem to apply as it compiles swiftly as long as it's not a default icon.
Chris Gayle wrote:
Therefore, your common sense doesn't really seem to apply as it compiles swiftly as long as it's not a default icon.

Sure does. The compiler is doing it all at once, so compiling will take longer than at runtime.

Well then! Guess it's all natural and expected.
Welcome to my World.
Maybe it's resizing the icon for the object list thumbnail that's taking so long. I would say it's worth a bug report.