MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MathLink slow

  • To: mathgroup at
  • Subject: [mg62627] Re: MathLink slow
  • From: "Jens-Peer Kuska" <kuska at>
  • Date: Tue, 29 Nov 2005 06:44:06 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <dmh944$8rq$>
  • Sender: owner-wri-mathgroup at


my personal experience is that MathLink is quite 
fast when
passing data since version 4.2 is faster. But the 
speed depends
on your programming style. Since MathLink pass the 
heads of an expression
it took more time to send




but the result in the line drawing is the same.
The same apply to read the elemens in a array
element by element or to pass the array as a 

When the MathLink overhead is realy the problem,
it is useless to use MathLink at all. In that case
it is better to do the job in the Mathematica 


"Lars Schouw" <schouwla at> schrieb im 
Newsbeitrag news:dmh944$8rq$1 at
| Mathlink is slow passing data over between 
Mathematica and a C++ dll. When I pass over a lot 
of data all my comutaional time is lost in passing 
over data!
| Is there anyway to speed this up?
| Regards
| Lars Schouw

  • Prev by Date: Re: Get numbers out of PhysicalConstants?
  • Next by Date: Re: Re: Re: How to View Mathematica and Hardcopy Books
  • Previous by thread: MathLink slow
  • Next by thread: Re: MathLink slow