Rewriting the Anthropic Messages API in Rust reduced central processing unit consumption by 40% to 50%