Closed Bug 1586972 Opened 5 years ago Closed 3 years ago

[BinAST] Reduce the amount of Variant::match call for GenericHuffmanTable and GenericHuffmanTable::Iterator

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: arai, Unassigned)

References

Details

there are many Variant::match calls in GenericHuffmanTable<T> and GenericHuffmanTable<T>::Iterator.
and especially in GenericHuffmanTable<T>::Iterator, it calls Variant::match for each iteration, and this is inefficient.

we could templatize the entire loop and generate specialized code for each type.

Priority: -- → P3

Resolving BinAST bugs as Incomplete.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.