Hello, thank you all for your advices. Here are my results so far: Using string and ord = processing took 23.698839 string and map(ord,string) = processing took 21.140183 struct.unpack = processing took 16.194423 array.fromfile = processing took 13.236229 So the winner is array! Dalibor