Skip to content

Conversation

@djmitche
Copy link
Collaborator

Niche optimization is currently mentioned in three places:

  • Enums (User-Defined Types, Day 1 Afternoon)
  • Option (Standard Library Types, Day 2 Afternoon)
  • Box (Smart Pointers, Day 3 Morning)

This is a tricky thing to get right, and it was just in the speaker notes in each place. #1820 will introduce a fuller explanation.

Fixes #1820.

Niche optimization is currently mentioned in three places:
 - Enums (User-Defined Types, Day 1 Afternoon)
 - Option (Standard Library Types, Day 2 Afternoon)
 - Box (Smart Pointers, Day 3 Morning)

This is a tricky thing to get right, and it was just in the speaker
notes in each place. google#1820 will introduce a fuller explanation.
Copy link
Collaborator

@mgeisler mgeisler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for simplifying this.

@djmitche djmitche merged commit d9e3ad9 into google:main Oct 15, 2024
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.

Incorrect niche optimization explanation for the linked list in the box section

2 participants