Closed dimus closed 3 years ago
This issue's code is creating ~15%-20% slowdown sadly, but I think it is important enough to justify it.
Auch. I assume/hope the slowdown is only when hitting "f." and not an overall performance hit? Thank you for your efforts trying to resolving this :)
It all depends on the structure of https://github.com/gnames/gnparser/blob/master/ent/parser/grammar.peg
I suspect it is possible to decouple treatment of maybe filius
from the rest. At some point I will try to optimize the file.
See https://github.com/gnames/gnparser/issues/147 for the discussion about this issue.
In ambiguous cases,
f.
is much more likely to beforma
thanfilius.
Therefore we should continue to issue a warning but parse names like the ones mentioned in discussion with @havardo asforma
: