08-18-2016, 08:30 AM
Oh! This is fantastic! Though, I couldn't help but notice that your map saver took on the order of a minute... Does your saver use a repeated string concatenation? I've found that it's like 20x faster, when at the scale of an entire z level, to instead add each bit of text to a list, then call `joinlist` at the end, when you need your string to be fully assembled. Doing so, I've been able to save elaborate z levels, such as Paradise's Cyberiad, in only ~7 seconds, the key->instance writing taking less than half a second, as opposed to the 70 seconds that step took before.