-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oxidize part 1 ... an Intro to an ambitious vNext ? #22
base: main
Are you sure you want to change the base?
Conversation
added some more : |
thanks @jrouaix for the PR. Couple comments/questions from brief look:
Could be useful. These test require a macOS system, hiding these behind a feature flag would be helpful for Linux and Windows users who try to run the tests In regards to library Roadmap. The major things that come to mind:
Are there any other things you think could be worth adding/changing? |
Hey @puffyCid, thank you for the answer Let's answer on my side:
2 =>
3 =>
4 =>
Now about the Roadmap, I hope I can help a lot on memory & perfs. This is you first project ? You @puffyCid are Mr And we had some ideas : iter over fileshaving low level iterators could reduce memory consumption a lot zero copyWe could (not sure it's possible) just have low level iterator of lazy formattingAssuming the previous one LogData could just embed refs to what is needed to format messages Perhaps I should write and issue for each of thoses, in order to get comments |
abandonned PR, too big, let's make it more digest for the maintainers : #33 |
Hi,
I was looking to implement a "simple"
LogDataIterator
but I couldn't make sens about all the &mut structs that are passed around just to pick some value in it when the function exit. => shindan-io@2a6e543And so while digging I found a lot to improve in the current code base and started some big rewrites.
mut
nom
usage => a lot shorter codeCopy
typesconst
when constsI really think the code could be way more maintainable, and it could help a lot to implement other features, or other apis/usages around this lib.
Would you have a look at this PR ?
If you like it, I'll have a lot more to provide.
I hope I didn't do any regression, but I don't have the same test data to ensure.
We (myself & @mrguiman) think we can really help improving this lib (memory consumption & perhaps some perf).
And we (Shindan) rely on it, so we have a green light from our employer to contribute.
To you have a plan to version 2 ?
Perhaps it could be a good moment to think about a roadmap, we could share the heavy lifting on adding features while also oxidize (aka : make the code Rusty) the rest of the existing code.
let us know @puffyCid