Turned out to be a very simple change - simply not setting the local _raw in validate was enough to improve frontend validate performance while still keeping the original behavior intact. All tests still pass without any changes and I couldn't find any changes in application behavior either.
Turned out to be a very simple change - simply not setting the local _raw in validate was enough to improve frontend validate performance while still keeping the original behavior intact. All tests still pass without any changes and I couldn't find any changes in application behavior either.