varnish-cache
varnish-cache copied to clipboard
Optimizer req.method
if (req.method == "foo" || req.method=="bar" ...) is a common theme, both in C and VGC.
Maybe we should add a small bitmap to struct http for the "well known" methods, so that these checks can become trivial AND operations instead of strcmp's ?
I think it might be an improvement even without improved VCC code generation .