Remove loop from resolution function wrapper
Add --enable-werror option to configure to enable -Werror
Memoisation of some common resolution function cases
Optimise case where resolution function behaves like identity
Remove unused size parameter to _vec_load