Skip to content

memory: allocator 处理 内存对齐问题 #60

Open

Description

@Sunrisepeak

allocator 处理 内存对齐问题

https://en.cppreference.com/w/cpp/language/alignas
https://en.cppreference.com/w/cpp/language/new#Placement_new

  • 避免性能问题
  • 避免一些架构的为定义行为

Activity

  1. self-assigned this
    on Jul 18, 2024
  2. added
    enhancement
    on Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions