MathGroup Archive 1999

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

Search the Archive

MathLink performance

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20214] MathLink performance
  • From: "Roberto Abraham at IoA, Cambridge" <abraham at ast.cam.ac.uk>
  • Date: Wed, 6 Oct 1999 21:06:31 -0400
  • Organization: University of Cambridge, England
  • Sender: owner-wri-mathgroup at wolfram.com

Hi -- I'm trying to improve the performance of my MathLink C code (which
reads an image file into Mathematica). I've noticed that the first time I
call my external function to access my image data it runs much more
quickly than when I call it subsequently (by about a factor of 10). Does
anyone have an explanation for this behaviour? I've tried contacting WRI
technical support about this issue but have not really gotten an answer.

Regards,

Bob Abraham

PS. I'm running Mathematica under Redhat Linux 6.0. 

---------------------------------------------------------------------------
Roberto Abraham            |  E-mail: abraham at ast.cam.ac.uk
Institute of Astronomy     |  Tel (direct)    +44-(0)-1223-766667
Cambridge University       |      (secretary) +44-(0)-1223-337548
Madingley Road, Cambridge  |  FAX             +44-(0)-1223-337523
CB3 OHA  United Kingdom    |  Mobile                  0467-371014
--------------------------------------------------------------------------
"What gets us into trouble is not what we don't know.
 It's what we know for sure that just ain't so."
 - Yogi Berra
--------------------------------------------------------------------------



  • Prev by Date: Re: Drawing Rectangular Grid
  • Next by Date: Why Doesn't N[Pi,i] Give i Digits For Small i, Mathematica 4,on NT
  • Previous by thread: Re: Re: Inverting a non-square matrix
  • Next by thread: Re: MathLink performance