Sorry, I meant the prng itself. Also while I understand that one might read it 
as an optimization it actually was a question where I made an error that led to 
"anti-optimization".

Well, whatever, I went the cumbersome path and found my suspicion confirmed. 
`cast[PResult](s.x)` had Nim _copy_ the content (32 bytes) rather than simply 
changing a uint32 pointer to a uint8 pointer. Meanwhile I have changed my 
wrapper and achieve about 99% of the speed of the C version.

Btw, all the relevant information _was_ provided but it was of course easier to 
ask me for my source and to tell me that I should solve my problem myself.

regards

Reply via email to