Skip to content

Conversation

@tjungblu
Copy link
Contributor

No description provided.

// write writes the page ids onto a freelist page. All free and pending ids are
// saved to disk since in the event of a program crash, all pending ids will
// become free.
func (f *freelist) write(p *common.Page) error {
Copy link
Member

Choose a reason for hiding this comment

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

Please keep the write method in freelist.go because it has nothing to do with array or hashmap freelistType.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

copied too eagerly, moved it back where it was

@tjungblu tjungblu force-pushed the freelist_first_array branch 2 times, most recently from 92ea985 to 39a1105 Compare June 26, 2024 15:21
@tjungblu tjungblu force-pushed the freelist_first_array branch from 39a1105 to a4a52a2 Compare June 26, 2024 15:21
Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants