Currently, the time conversion in make_histogram is applied to convert each time from nanoseconds to microseconds. We could instead convert max_time and min_time to nanoseconds and only do the multiplication twice instead of n_events times, which should provide a small performance boost.
Currently, the time conversion in
make_histogramis applied to convert each time from nanoseconds to microseconds. We could instead convertmax_timeandmin_timeto nanoseconds and only do the multiplication twice instead ofn_eventstimes, which should provide a small performance boost.