synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bd2019us (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-1102) Performance save - Replace instances of Math.Random with Random.nextDouble
Date Fri, 10 May 2019 22:06:00 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

bd2019us updated SYNAPSE-1102:
------------------------------
    Attachment: SYNAPSE-1102.patch

> Performance save - Replace instances of Math.Random with Random.nextDouble
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-1102
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1102
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: bd2019us
>            Assignee: Isuru Udana Loku Narangoda
>            Priority: Trivial
>         Attachments: SYNAPSE-1102.patch
>
>
> Some slight performance can be saved when replacing Math.random with Random.nextDouble,
due to Math.random not having to create an instance of Random.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message