Rust port of Drain (drainrs) #72
haydenflinner
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
This is really cool, would you like to contribute and maintain the project in this repository as an alternative/faster implementation? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, the code for this is early, for example the usual parameters aren't configurable. But the core algorithm was ported over 1:1 and then cleaned up to be a little more zero-copy/type-correct. For example there shouldn't be any issue caused by
"<*>"
occurring in the logs. The focus was on performance, and without an LruCache it measures as considerably faster in my early tests, despite having some definitely unnecessary copying going on.https://crates.io/crates/drainrs
Beta Was this translation helpful? Give feedback.
All reactions