MASON-INTEREST-L Archives

April 2006

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Type:
text/plain; charset="iso-8859-1"
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Marc Richards <[log in to unmask]>
Date:
Fri, 21 Apr 2006 11:30:48 -0400
MIME-Version:
1.0
Comments:
To: MASON Multiagent Simulation Toolkit <[log in to unmask]>
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (19 lines)
> As to detatchAll() versus a specific portrayal: laziness.  It's easy  
> for us to clean out everything, but detatching a specific portrayal  
> means shifting a bunch of stuff down.  We figured one could detach  
> everything and then reattach the stuff you wanted.  :-)  :-) 

I tried that first, but the Portrayals' visible flags are package-private to
sim.display. So it isn't possible to know which Portrayals should be visible
when they are reattached (from outside the sim.display, anyway). No big deal
though, if I decide I really need that ability I'll just hack the Display2D
directly. 

Regarding the immutability stuff: Increasing the heap size dramatically
improves performance when the immutable field flag is set to true. So it all
makes sense now :) I guess I should've tried that first.

Thanks for your help!

-Marc

ATOM RSS1 RSS2