#2392 closed Defect (fixed)

avoid useless allocation in diawri

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: DIA Version: trunk
Severity: minor Keywords:
Cc: Branch review: failed
MP ready?: no Task progress: Unspecified

Description

Context

avoid do allocate 6 x 3D arrays when not doing any output (no key_iomput and nn_write == -1, e.g. BENCH)

Analysis

bypass allocation in dia_wri_alloc

Recommendation

do it!

Commit History (1)

ChangesetAuthorTimeChangeLog
12493smasson2020-03-02T08:56:31+01:00

trunk: minor optimisation in diawri, see #2392

Change History (2)

comment:1 Changed 11 months ago by smasson

In 12493:

trunk: minor optimisation in diawri, see #2392

comment:2 Changed 11 months ago by smasson

  • Resolution set to fixed
  • Status changed from new to closed

done in [12493]

Note: See TracTickets for help on using tickets.