Skip to content

Conversation

3v1n0
Copy link
Collaborator

@3v1n0 3v1n0 commented Feb 24, 2025

Mark functions with nocallback and noescape for optimization reasons when possible.

Still a draft since we don't use such go version yet.

No code calls back into Go there so we can safely use this new directive
Memory is already checked during program execution and handled
internally, so optimize generated cgo code.
@3v1n0 3v1n0 force-pushed the cgo-optimizations branch from 62cd9b9 to 33ff784 Compare February 25, 2025 17:01
@denisonbarbosa
Copy link
Member

@3v1n0, can we close this one and come back to it later? Considering the whole SRU situation, it's gonna take a while before we get Go 1.24 in Noble, so I'd like us to tune down the amount of pull requests that we have lying around without reason.

@3v1n0
Copy link
Collaborator Author

3v1n0 commented Apr 8, 2025

As you wish, I don't think I'll forget about, but keeping as draft as it is it shouldn't bother either, no?

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.

2 participants