Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: X10 2.0.1
-
Fix Version/s: X10 2.2
-
Component/s: Class Libraries
-
Labels:None
Description
The Rail class is essentially a restricted case (one-dimensional, zero-based, convex) of Array. Assuming we would also like immutable arrays (see XTENLANG-787), then ValRail is a restricted case of an immutable Array.
At the moment, code using {{Array(1){zeroBased}}} suffers a significant performance penalty compared to using Rail or ValRail. It would be nice if application programmers did not need to worry about this distinction, i.e. if Rail, ValRail were just high performance concrete implementations within the Array type hierarchy, created in the same way as other arrays.
Issue Links
- is depended upon by
-
XTENLANG-962
Array library redesign
-
Major goal of 2.1.0 is to make this change, so marking it as critical.