Stefano Lanzavecchia wrote: >> even if the pool is low - but by reading only 4 bytes from >> random, I have never encountered a delay. > [...] >> Is there a similar/good solution in Windows? > > CoCreateGUID http://msdn2.microsoft.com/en-us/library/ms688568.aspx > generates exactly 4 bytes. > I use it a lot.
Good idea, and this is cross platform. For example: load'guid' 9!:1 (_2) 3!:4 , guids 1 NB. set random seed 9!:0'' NB. read random seed 448790339 _1169755854 1573395364 1858669520 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
