Changes between Version 1 and Version 10 of Ticket #4326
- Timestamp:
- Nov 11, 2016, 12:24:55 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4326
- Property Keywords patch review added
-
Ticket #4326 – Description
v1 v10 5 5 - This new pickRandom function can the be used in instances like {{{if (randNumber >0.5);else;}}} 6 6 7 - And last occurrences of {{{Math.round(Math.Random())}}} and similar expressions should be nuked into some RandInt() calls. 7 - Occurrences of {{{Math.round(Math.Random())}}} and similar expressions should be nuked into some RandInt() calls. 8 9 - Occurrences of randFloat(0, value) should be nuked to randFloat(value) as that returns is the exact same interval and saves some performance. 8 10 9 11 The attached patch is a rebase from #3102 and this ticket is necessary for the final implementation of that ticket.