You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/01/05 12:11:39 UTC
[jira] [Created] (IGNITE-2336) Avoid varargs where possible
Vladimir Ozerov created IGNITE-2336:
---------------------------------------
Summary: Avoid varargs where possible
Key: IGNITE-2336
URL: https://issues.apache.org/jira/browse/IGNITE-2336
Project: Ignite
Issue Type: Sub-task
Components: general
Affects Versions: ignite-1.4
Reporter: Vladimir Ozerov
Fix For: 1.6
There are ~400 places in core module where varargs are used. But in most cases we either:
1) Always pass 1 element
2) Always pass 2 elements
3) Pass several constant elements
Thus, we can do the following:
1) Remove varargs where only one element is passed.
2) Use predefined array constants instead of varargs where possible.
This should decrease memory pressure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)