-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
The RESP endpoint currently parses a command name as a byte[] and then converts to a String. This is as optimized as we can get by doing this method. It should be possible to do this parsing without allocating a byte[] or String but instead by having an enum of possible commands and checking if any match.
By adding an enum for each command, we can add additional parsing logic that can be done in the parser as needed as well.