[PATCH] spidernet: performance optimizations