Hacker News new | past | comments | ask | show | jobs | submit login

I kind of agree! But think about performance. A fast pseudo random generator will/should create a random number in less cycles than one virtual function call has overhead. Also it's not hard to create your own virtual random class if you are willing to pay the price.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: