it should still work if the file name is known only at runtime, consider 
the following script:


filename = "myrandomfile"*string(rand(1:5))*".hdf"
vecname = "myvec"
@load_vector_from_hdf5_file(filename, vecname)


w/o specifying types, w/o type instability, and file name decided at 
runtime.

I have yet seen a convincing argumet for allowing type instabilities inside 
compiled functions.... and having this "feature" comes with a high cost

Reply via email to