Skip to content
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

refactor: The long awaited byte_type refactor #3

Merged
merged 7 commits into from
Jan 12, 2023
Merged

Conversation

eliassjogreen
Copy link
Member

Planned

  • Deno.UnsafePointerView and support for FFITypes which interoperate with the normal Types
  • Pointer
  • CString
  • Examples
  • Benchmarks
  • Documentation

Optimizations

This commit pull request also optimizes the struct views to basically javascript object native performance, on my machine the reading the struct view is about ~4.2ns compared to ~3.9ns. Performance writing is about twice as good natively as compared to writing to a struct view. This should also apply to tuples!

eliassjogreen and others added 6 commits November 9, 2022 01:57
This commit also optimizes the struct views to basically javascript object
native performance, on my machine the reading the struct view is about
~4.2ns compared to ~3.9ns. Performance writing is about twice as good
natively as compared to writing to a struct view. This should also apply
to tuples!

Co-authored-by: Dean Srebnik <load1n9@users.noreply.github.com>
@load1n9
Copy link
Member

load1n9 commented Nov 16, 2022

I approve of this attractive pr

@eliassjogreen eliassjogreen merged commit 5bb00b3 into main Jan 12, 2023
@eliassjogreen eliassjogreen deleted the refactor/x branch January 12, 2023 14:04
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.

3 participants