Skip to content

Use fast varint read path in LongInputStreamV1#13607

Merged
highker merged 1 commit intoprestodb:masterfrom
oerling:orc-v1-fast-path
Oct 28, 2019
Merged

Use fast varint read path in LongInputStreamV1#13607
highker merged 1 commit intoprestodb:masterfrom
oerling:orc-v1-fast-path

Conversation

@oerling
Copy link

@oerling oerling commented Oct 25, 2019

Do not decode varints that are skipped over and do not maintain a
buffer of possibly unused values. Use the OrcInputStream varint
methods to read or skip only what is needed.

Copy link

@highker highker left a comment

Choose a reason for hiding this comment

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

minor comment only; otherwise LGTM

Copy link

Choose a reason for hiding this comment

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

lastReadInputCheckpoint is never used anymore. Could you remove?

Copy link

Choose a reason for hiding this comment

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

remove (): used * delta

Copy link

Choose a reason for hiding this comment

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

Could you give a more meaningful name for this?

Do not decode varints that are skipped over and do not maintain a
buffer of possibly unused values. Use the OrcInputStream varint
methods to read or skip only what is needed.
@oerling
Copy link
Author

oerling commented Oct 27, 2019 via email

Copy link

@highker highker left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants