swarm-support
[Top][All Lists]
Advanced

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

RE: [Swarm-Support] Time efficiency of at$createActionTo$message


From: Marshall, James A R
Subject: RE: [Swarm-Support] Time efficiency of at$createActionTo$message
Date: Tue, 18 Feb 2003 17:35:09 -0000

Hi Marcus,
  sorry to be dense but what are the ObjectiveC style constructors in
Java... are those the interfaces/classes postfixed with S, C, SImpl, CImpl,
etc.?
        James

---
Dr James A R Marshall
Complex Systems Modelling Group (COSMIC)
Department of Earth Science and Engineering
Imperial College London
Tel: +44 (0)20 7594 7493
Fax: +44 (0)20 7594 7444
Container World Project - http://www.ese.ic.ac.uk/research/containerworld/



-----Original Message-----
From: Marcus G. Daniels [mailto:address@hidden
Sent: 18 February 2003 01:19
To: address@hidden
Subject: Re: [Swarm-Support] Time efficiency of
at$createActionTo$message


For Java, especially with older builds of Swarm, it is important to 
avoid Objective C style constructors.  There's not only the overhead of 
the Objective C message dispatch but the indirection involved in 
associating Java's idea of the selector with the real selector.   
Instead, use
createFActionForEachHomogeneous$call.  This avoids all indirection for 
the callout to a Java method.   Randomization slowness as Paul notes 
will still apply, though.

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support


reply via email to

[Prev in Thread] Current Thread [Next in Thread]