PetscViewFromOptions() checks are expensive
Issue #88
wontfix
We need to put in an industrial strength string comparison. What we do now is slow, and can impact codes which do many small solves.
Comments (3)
-
-
- changed status to wontfix
Nothing to do with petsc4py.
-
reporter Crap this was supposed to be a PETSc issue
- Log in to comment
@knepley Are you sure this is the appropriate project to raise this issue?
Well, a hash table for options seems to be the obvious things to use, right? We could we something similar to the "compact dict" implementation in Python 3.6+, so we can reuse our khash-based integer hash tables to indirectly address an array of key/value entries.
https://mail.python.org/pipermail/python-dev/2012-December/123028.html http://code.activestate.com/recipes/578375/