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

memcopy for string conversion (from/to) #1

Open
DQNEO opened this issue May 14, 2020 · 0 comments
Open

memcopy for string conversion (from/to) #1

DQNEO opened this issue May 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@DQNEO
Copy link
Owner

DQNEO commented May 14, 2020

Consider these cases

str := string(slice)
slice[0] = 'X'
str := "hello"
slice := []byte(str)
slice[0] = 'X'
@DQNEO DQNEO added the bug Something isn't working label May 14, 2020
@DQNEO DQNEO added this to the Selfhost milestone May 14, 2020
@DQNEO DQNEO changed the title use heap and copy in string conversion memcopy to/from string conversion Jan 20, 2021
@DQNEO DQNEO changed the title memcopy to/from string conversion memcopy for string conversion (from/to) Jan 20, 2021
@DQNEO DQNEO removed this from the Selfhost milestone Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant