From: Albert G. <Dr....@t-...> - 2008-07-09 20:29:23
|
Jiri Spitz wrote: > > using set_test; > > set (1..10); > Set (bin 4 (-1) (bin 2 0 (bin 1 0 nil nil) (bin 3 0 nil nil)) (bin 8 0 > (bin 6 0 (bin 5 0 nil nil) (bin 7 0 nil nil)) (bin 9 (-1) nil (bin 10 0 > nil nil)))) > > > (About 9 s - *WHY* ?) Yeah, that's weird. Entering the same expression again it executes instantly. And if I compare the LLVM IR of set (1..2) and set (1..10), it's exactly the same assembler code except for the second int constant, so the JIT would basically generate the same native machine code in both cases. Frankly, I have no idea what's going on there. :) Anyway, your latest set_test2.pure fixes all this. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |