Why don't refactoring the slow RTL random to MyRandom so you can switch? You can do it in a few miniutes. In my opinion the current RTL random function should not change, because other FPC developers are depend on current code base. But a fast random or other random implementation should put into Math unit for choices.