Allocate SplashXPathScanner on the stack
SplashXPathScanner is only used inside the each fill function, but newer passed to the outside. As it is small, there is no reason to not allocate it on the stack.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
SplashXPathScanner is only used inside the each fill function, but newer passed to the outside. As it is small, there is no reason to not allocate it on the stack.