Hi 

I was working on processing large data sets & historically I've used 
structs in C++ & other languages for this type of task. I attempted to use 
a Composite Type in Julia & preallocate a large array before filling it 
w/values as my algo processes the data. 

My example was:

type ExampleEvent

        fld1::ASCIIString
        fld2::Int16
        fld3::Int64
        fld4::Int64
        fld5::Int64
        fld6::Int64
        fld7::Int64

end

I googled around & from what I found, & all the docs examples I tried out, 
there isn't an obvious way to declare an array of composite type without 
having to do some work arounds. 

I liked the language in several other respects but it seems to be missing 
helpful tools to make the programmer's life easy. Am I missing something? 
If not, why is a data structure like this not easily available? 

thanks in advance

best,
A 

Reply via email to