43 ms·
> Phoenix is very fast despite passing the much larger Plug.Conn struct through a much larger number of functions that similarly update one thing and return a n
by pmarreck 11y ago
> Phoenix is very fast despite passing the much larger Plug.Conn struct through a much larger number of functions that similarly update one thing and return a new copy.
I know that, but I'm not concerned about the current, apparent speed. I'm concerned about the "death by a million cuts" I've seen in other large apps I've worked on, where incremental tiny but unnecessary delays eventually add up to something significant. In my experience the only way to slow down that process is to be really anal about performance, memory consumption etc. with every line of code you write.