> Binary -> decimal conversion is generally very slow. The best thing to do is 
> to not do it at all if possible, but just stay in binary.

To give you an idea of speed; Generating the same mesh in the same resolution 
directly in POV-Ray using similar code, without writing the file takes ~30 s 
here, on a decade old box. With writing the file it takes ~5 s more. Parsing 
the written ASCII file takes ~2 s. On that old box the Nim version, blush 
blush, takes 6 seconds. ( I see a solution in an other direction...)

I'll look into the `-d:nimPreviewFloatRoundtrip` option, that's a substantial 
imporvement.

@Stefan_Salewski Although I 'only' do 3D work I'll have a thorough poke at your 
project.

Thanks

Reply via email to