diff options
author | Stan Seibert <stan@mtrr.org> | 2011-10-07 16:59:35 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-10-07 16:59:35 -0400 |
commit | b97a56f5f81a806d05d9c55146acad73af2a57bc (patch) | |
tree | 92f1a62e7730cb0b72408fe9c17aff03ae94ab4b /src/mute.cc | |
parent | c13c687cc1c3fed4484be2a19fc045cee7b3d310 (diff) | |
download | chroma-b97a56f5f81a806d05d9c55146acad73af2a57bc.tar.gz chroma-b97a56f5f81a806d05d9c55146acad73af2a57bc.tar.bz2 chroma-b97a56f5f81a806d05d9c55146acad73af2a57bc.zip |
Rewrite mesh_grid to be less compact but 100x faster.
Most of the time required to build the LBNE geometry is spent on
mesh_grid() for the highly segmented cylinder. (67 seconds!) The
speed hit is caused by the use of zip to connect the vertices. The
same task can be done in several lines with slice notation, and goes
much faster.
Diffstat (limited to 'src/mute.cc')
0 files changed, 0 insertions, 0 deletions