Closed Bug 686583 Opened 13 years ago Closed 6 years ago

Vector.<*> and generic Vector.<Object> should have a non-boxing representation

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lhansen, Unassigned)

References

Details

(Whiteboard: PACMAN)

As is the case for Array, see bug #683839, we do not as a rule want to box Number data and even large int/uint data when storing them into a Vector.<*> or Vector.<Object>, but instead use a non-boxing representation such as NaN encoding, there are various options.

The gains of this optimization are uncertain, and probably significantly less than the similar optimization for Array.

This optimization may be tricky to implement at present because there are only four basic vector representations: Vector.<int>, Vector.<uint>, Vector.<Number>, and Vector.<*>, where the last one is really Vector.<Atom>, but no matter.  We could add Vector.<RCObject> to handle many important cases, see eg bug #601817.
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.