z85_decoder is extremely slow
Description
Environment
None
Activity
Show:

PieterP November 9, 2013 at 8:54 AM
Backported to 4.0.x stable.

PieterP November 4, 2013 at 3:14 PM
Fixed on libzmq master, will backport to 4.0.

PieterP November 4, 2013 at 2:37 PM
Test case added here: https://github.com/zeromq/issues/blob/master/578/issue.c
Problem is caused by "strlen" function call in loop (which compiler does not optimize).
Function is too slow to be usable on data larger than small keys.