|
[Date Index]
[Thread Index]
[Author Index]
mathlink loopback question
- To: mathgroup at smc.vnet.net
- Subject: [mg29934] mathlink loopback question
- From: Mario Drobics <mario.drobics at scch.at>
- Date: Thu, 19 Jul 2001 03:56:59 -0400 (EDT)
- Organization: Software Competence Center Hagenberg
- Sender: owner-wri-mathgroup at wolfram.com
When I have a lot of elements (1,000,000 integers) in a Loopback link and
finally want to move its contents to the stdlink using
MLTransferExpression(stdlink, loopback) it takes very long (about 30sec!)
(but doesn't stress the CPU). Filling the Loopback, however, goes on the
fly. I wonder why this is so, as it should be nothing more then some kind
of pointer movement or memory copy (and need not more time than filling
the loopback link)?
I also wonder, how I can free the memory allocated temporarily,
MLClose(loopback) seems not to do the job.
(I am using Mathematica 4.1, with MathLink for C++ and gcc 2.95.4 on a
Linux 2.2 system)
tnx,
-mario drobics-
---------------------------------------------------------
Mario Drobics, MSc.
Software Competence Center Hagenberg GmbH
Softwarepark Hagenberg, Hauptstrasze 99
A-4232 Hagenberg, Austria
Tel.: +43 7236 3343 831
Fax: +43 7236 3343 888
Mail: mario.drobics at scch.at
Web: http://technix.oeh.uni-linz.ac.at/~mariod/
Prev by Date:
Re: Admissible values for variables
Next by Date:
Re: Integrate[1/x, x] ??
Previous by thread:
Re: password problem
Next by thread:
Non-Integer HarmonicNumbers?
|