Skip to content
Commit d386bd79 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

IRIS: Decrease execution time at the cost of slightly higher memory use

The first { $_->raw_id eq $id } @{ $self->{results} } calls effectively
handle the results as a linked list, while in both cases only a single
element (with a unique ID, too) is looked up. A hashmap makes this about
30% faster (580ms total -> 490ms total)
parent ea1386e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment