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

canvas -> struct instead of class? #1

Open
jamesmontemagno opened this issue Jul 29, 2022 · 3 comments
Open

canvas -> struct instead of class? #1

jamesmontemagno opened this issue Jul 29, 2022 · 3 comments

Comments

@jamesmontemagno
Copy link

Could this improve performance?

@jonathanpeppers
Copy link
Owner

I tried it, but I have a vague memory of getting about the same number. Let me try it again as maybe I could get a couple thousand more LOLs. LOL!

@jamesmontemagno
Copy link
Author

Would love the see the canvas test in the main branch as well as I think that is a nice side by side ;)

@jonathanpeppers
Copy link
Owner

Yeah the canvas test is pretty sketchy. It's timing how fast it can use Random, create a C# object, and push in a ConcurrentQueue?

I'm not sure it's actually measuring anything meaningful.

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

No branches or pull requests

2 participants