git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Persisting ContentCache to disk between sessions


Volunteers are welcome to provide a patch that makes ContentCache serializable.  IIRC, lots of Flash classes are not serializable, but IExternalizable allows you to define custom serialization.

-Alex

On 10/29/18, 10:22 AM, "Erik Thomas" <erikjthomas@xxxxxxxxxx> wrote:

    Thanks everyone for your ideas. 
    
    Alex, I already knew how to do the serialization by encoding/decoding, and I may go down that path someday, but if FileStream would just serialize a ContentCache (seems like a common want), it would have been a quick improvement to app responsiveness. 
    
    Having to write my own serializing logic pushes this down on our priorities list since improving app responsiveness is more of a "nice to have" and not a high priority.
    
    I'm going to drop this idea for now.
    
    Thanks again for your insights, everyone.
    
    Erik