Changes between Version 1 and Version 10 of Ticket #4326


Ignore:
Timestamp:
Nov 11, 2016, 12:24:55 PM (3 years ago)
Author:
bb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4326

    • Property Keywords patch review added
  • Ticket #4326 – Description

    v1 v10  
    55- This new pickRandom function can the be used in instances like {{{if (randNumber >0.5);else;}}}
    66
    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.
    810
    911The attached patch is a rebase from #3102 and this ticket is necessary for the final implementation of that ticket.