Ah, ok. The deserialization is actually fine. I was running with device attached to Visual Studio and it took 149 seconds to deserialize. When not attached to VS, it takes 1.8 seconds. Sorry, my bad.
(With your optimizations it takes 1.7 seconds to deserialize).
Oh, VS really draged it down by a lot.
Well not much of an optimization there in the end, but in any case it’s not really needed in runtime (the fsObjectProcessor).
By all means, do let me know if you find any other issue.
(Do you still have the Variable class virtual instead of abstract by the way?)
I will pack it all up and make a submission within the week.