CESNET / libfds

Flow Data Storage library
Other
9 stars 12 forks source link

Improve performance of JSON conversion when numeric identifier are enabled #10

Closed Lukas955 closed 4 years ago

Lukas955 commented 4 years ago

Using snprintf() significantly slows down conversion of Data records - internal branchlut2 should be used instead.

https://github.com/CESNET/libfds/blob/dcb27c0ba139d4337bdfc3cc126a7e0454cd1acd/src/converters/json.c#L1421

Lukas955 commented 4 years ago

Fixed by 54ac720