Skip to content

ENH: Speedup by 50% handling of argument expected to display a msg and exit

Created by: jcfr

On my workstation, executing "Slicer --help" or "Slicer --version" went down from ~1.3s to ~0.6s.

This commit introduces the function quickExit allowing to quickly terminate the executable.

After supporting exclusively c++11, the corresponding function from the standard library will be used. See http://en.cppreference.com/w/cpp/utility/program/quick_exit

Merge request reports

Loading