Skip to content

made huge improvement:#11

Closed
rawbytedev wants to merge 1 commit into
allocs-reductionfrom
main
Closed

made huge improvement:#11
rawbytedev wants to merge 1 commit into
allocs-reductionfrom
main

Conversation

@rawbytedev
Copy link
Copy Markdown
Owner

*decide to change from storing offset of var to linear ready cause this saves us trouble and is easier

  • Added some improvement to encoding

  • did some good improvement encoding goes close to 0 allocs but above it when using some data type from which we can't avoid allocs like slice

  • adding utils edits

  • 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

*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)

* Added some improvement to encoding

* did some good improvement encoding goes close to 0 allocs but above it when using some data type from which we can't avoid allocs like slice

* adding utils edits

* 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
@rawbytedev rawbytedev closed this Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant