made huge improvement: *decide to change from storing offset of var to linear ready cause this saves us trouble and is easier - errors can be detected early on - encoding format is now consistent - expected size is exactly as you expect it - encoding went to around 1 allocs/ op which is big progress - e-ncoding same struct twice gives us 0 allocs To Do: -perform a complete migration from fractus to HighPerfFractus Maybe keeping the naming as fractus - Make naming consistent right now they are lot of test variables that are not needed - format all files - write a complete documentation for this version - showcase improvement compared to previous versions - Expose only functions that should be usable by user (eg; FixedSize -> fixedSize) - Comment the code(at least critical part) Achieve Goals: - Allocs reduced greatly from around 20 to 0 - time taken reduce from 1000ns/op to 200ns/op or less#9
Merged
rawbytedev merged 4 commits intomainfrom Dec 2, 2025
Merged
made huge improvement:
*decide to change from storing offset of var to linear ready cause this saves us trouble and is easier
- errors can be detected early on
- encoding format is now consistent
- expected size is exactly as you expect it
- encoding went to around 1 allocs/ op which is big progress
- e-ncoding same struct twice gives us 0 allocs
To Do:
-perform a complete migration from fractus to HighPerfFractus Maybe keeping the naming as fractus
- Make naming consistent right now they are lot of test variables that are not needed
- format all files
- write a complete documentation for this version
- showcase improvement compared to previous versions
- Expose only functions that should be usable by user (eg; FixedSize -> fixedSize)
- Comment the code(at least critical part)
Achieve Goals:
- Allocs reduced greatly from around 20 to 0
- time taken reduce from 1000ns/op to 200ns/op or less#9rawbytedev merged 4 commits intomainfrom
rawbytedev merged 4 commits intomainfrom
Conversation
…t when using some data type from which we can't avoid allocs like slice
*decide to change from storing offset of var to linear ready cause this saves us trouble and is easier - errors can be detected early on - encoding format is now consistent - expected size is exactly as you expect it - encoding went to around 1 allocs/ op which is big progress - e-ncoding same struct twice gives us 0 allocs To Do: -perform a complete migration from fractus to HighPerfFractus Maybe keeping the naming as fractus - Make naming consistent right now they are lot of test variables that are not needed - format all files - write a complete documentation for this version - showcase improvement compared to previous versions - Expose only functions that should be usable by user (eg; FixedSize -> fixedSize) - Comment the code(at least critical part) Achieve Goals: - Allocs reduced greatly from around 20 to 0 - time taken reduce from 1000ns/op to 200ns/op or less
Owner
Author
|
We'll do a full migration from old fractus to new one then we'll focus on dev branch of fractus(zero-allocs for every operation and extremely fast) Note: Main branch and Dev branch will not be merged and those are two distent implementation Fractus on Main aims for simple, dynamic easy to use whereas Fractus on Dev branch would highly effecient and will require careful configuration to get the most out of it |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.