Ticket #3962 (accepted enhancement)

Opened 7 years ago

Last modified 6 years ago

Get rid of hot spot in the constructor of xmt_hash_table_adapter

Reported by: gemacke Owned by: gemacke
Priority: normal Milestone: 1.2
Version: 1.0 Severity: normal
Keywords: Cc:

Description

There's a hot spot in the constructor of xmt_hash_table_adapter. The constructor uses xmt_hash_table::visit() where the visitor increments a shared index by one. Switch to using the range_iterators and the for all streams pragma to get rid of the hot spot.

Change History

comment:1 Changed 7 years ago by gemacke

  • Status changed from new to accepted

comment:2 Changed 6 years ago by gemacke

  • component Eldorado deleted

comment:3 Changed 6 years ago by gemacke

  • Version set to 1.1
  • Milestone set to 1.0

comment:4 Changed 6 years ago by gemacke

  • Version changed from 1.1 to 1.0
  • Milestone changed from 1.0 to 1.1

comment:5 Changed 6 years ago by gemacke

  • Milestone changed from 1.1 to 1.2
Note: See TracTickets for help on using tickets.