{"push_id":2733201227,"size":2,"distinct_size":0,"ref":"refs/heads/freebsd-update","head":"b3edb173828b75c23d3e2bd8614389d4a5ccb845","before":"c97beb8a1b672811539756486824664e6d161c2a","commits":[{"sha":"449ef5265e46d57000bfb5a745b2be5856325e1e","author":{"name":"Nathan Sashihara","email":"b8688538334258364b0779bf52e85e1a784941cc@users.noreply.github.com"},"message":"Fix Issue 19075 - rt.util.random.Rand48.defaultSeed should prefer RDTSC or mach_absolute_time or QueryPerformanceCounter to ctime.time\n\n`rt.util.random.Rand48.defaultSeed` generates a seed from the clock\nusing `ctime.time`. With `D_InlineAsm_X86_64` it would be better to\nuse the RDTSC instruction because it is much faster as well as being\nfiner precision. (Finer precision is a benefit not because we care\nabout accurate time, but because the differences between seeds\ngenerated this way are potentially greater.) The same is true of\n`mach_absolute_time` on macOS and `QueryPerformanceCounter` on\nMicrosoft Windows.\n\nThis PR doesn't use RDTSC with `D_InlineAsm_X86` because some x86\nprocessors don't support RDTSC and because on x86 (but not x86-64)\nLinux `prctl` can disable a process's ability to use RDTSC.","distinct":false,"url":"https://api.github.com/repos/braddr/druntime/commits/449ef5265e46d57000bfb5a745b2be5856325e1e"},{"sha":"b3edb173828b75c23d3e2bd8614389d4a5ccb845","author":{"name":"Petar Kirov","email":"9ac61f75633baea3dd0acd2b4babe3c7514b4a73@gmail.com"},"message":"Merge pull request #2248 from n8sh/rt-defaultSeed-rdtsc\n\nFix Issue 19075 - rt.util.random.Rand48.defaultSeed should prefer RDTSC or mach_absolute_time or QueryPerformanceCounter to ctime.time","distinct":false,"url":"https://api.github.com/repos/braddr/druntime/commits/b3edb173828b75c23d3e2bd8614389d4a5ccb845"}]}
{"actor":{"display_login":"braddr"}}