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

fix: reduce buffer allocation #47

Merged
merged 2 commits into from
Nov 29, 2023
Merged

fix: reduce buffer allocation #47

merged 2 commits into from
Nov 29, 2023

Conversation

huskar-t
Copy link
Contributor

No description provided.


for (let i = 0; i < numOfRows; i++) {
let byteIndex = i >> 3
let bitWiseOffset = 7 - (i & 7)

let ifNullByte = bitMapBuf.readInt8(byteIndex);
let ifNullByte = basePtr.readInt8(offset + byteIndex);
Copy link
Contributor

Choose a reason for hiding this comment

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

此处是否应该为dataOffset?

Copy link
Contributor

@sheyanjie-qq sheyanjie-qq left a comment

Choose a reason for hiding this comment

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

LGTM

@huskar-t huskar-t merged commit 47e212c into 3.0 Nov 29, 2023
3 checks passed
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.

2 participants