pc_read_var inefficient
Brought to you by:
tobson
Originally created by: Bourdin.KIS (code.google.com)
Originally owned by: Bourdin.KIS (code.google.com)
Usage of 'pc_read_var' in IDL consumes double memory than actually needed.
This makes reading of variables a pain for lage setups.
First, an array 'varcontent' is setup with allocated memory for reading in the desired variables.
Then, an object is created using the filled varcontent array.
During that process the memory is allocated double.
To be more efficient, the target/output object should be created and the data should be read directly into the object.