Loading ...
Sorry, an error occurred while loading the content.

Re: Made saveList private in PObject

Expand Messages
  • merton_monk
    Good idea... you can probably do the same with associatedList (used mostly only for feats), variableList (used for DEFINE: tags) and even bonusList (used for
    Message 1 of 2 , Jun 3, 2002
    • 0 Attachment
      Good idea... you can probably do the same with associatedList (used
      mostly only for feats), variableList (used for DEFINE: tags) and even
      bonusList (used for BONUS: tags). There's probably a bunch of others -
      hopefully that will lower our RAM requirement and boost our speed. :)

      -Bryan

      --- In pcgen@y..., Scott Ellsworth <scott@a...> wrote:
      > Hi, all.
      >
      > I have made the saveList entity in PObject private and null by
      default.
      > It is created only when an element is added, and I have added
      accessors
      > for the count and contents of the list.
      >
      > This should not cause any problems, and should save us roughly
      5,000
      > ArrayList creations for a party like the one my gamers have.
      >
      > Let me know if this causes problems. I intend to do likewise to
      the
      > other usually empty data elements of PObject.java.
      >
      > Scott
    Your message has been successfully submitted and would be delivered to recipients shortly.