Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 30, 2023

No description provided.

@oscardssmith
Copy link
Member

Can you post a Base64 benchmark with this change?

Previously `copyto!` on a Memory was always calling unalias, even though
`unsafe_copyto!` did not require that.
@vtjnash
Copy link
Member Author

vtjnash commented Oct 30, 2023

Can you post a Base64 benchmark with this change?

The code is in the slow path, so not meaningfully, no. Literally, the code is behind a dynamic dispatch to a function named _slowpath. But looking into it did detect another minor issue, where unalias was being called that shouldn't have been. I think that is fixed now here too

@vtjnash vtjnash merged commit f631597 into master Oct 31, 2023
@vtjnash vtjnash deleted the jn/memoryrefcleanup branch October 31, 2023 17:10
Drvi added a commit to RelationalAI/julia that referenced this pull request Nov 1, 2023
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