FlyWeight

Posted on Code Project See other posts from Code Project
Published on Mon, 08 Feb 2010 16:28:00 GMT Indexed on 2010/06/10 0:03 UTC
Read the original article Hit count: 207

Filed under:
You are developing some gaming software. Your write Web client and on each of response you are parsing entire XML to get your game Units. You have some set of types of Units, for example 50 different animals, but when you parse your XML you can get dozens of instances. Memory issue? - FLYWEIGHT will

© Code Project or respective owner