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 --------------------------------------------------------------------------