Calls to `verbosity()` are slow

Issue #7 resolved
Joseph Parker created an issue

Calls to verbosity() in benchmarks can take ~50% of runtime, because it repeatedly calls get_environment_variable to get the GK_VERBOSITY environment variable, rather than just storing it.

This probably only affects benchmark; I don't think verbosity() is called heavily in gs2 itself.

Comments (2)

  1. Log in to comment