Skip to content

possible change?  #9

@wrnlb666

Description

@wrnlb666

With go1.21 on my machine, it is allowed to convert a dangling pointer/address to uintptr then to unsafe.Pointer like so var ptr unsafe.Pointer = unsafe.Pointer(uintptr(1)). And I think it would be a performace boost if avoiding memory allocation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions