You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2019/05/23 02:53:00 UTC

[jira] [Updated] (FLINK-12335) Improvement the code and performance of class SegmentsUtil

     [ https://issues.apache.org/jira/browse/FLINK-12335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jark Wu updated FLINK-12335:
----------------------------
    Summary: Improvement the code and performance of class SegmentsUtil  (was: Remove useless code in SegmentsUtil)

> Improvement the code and performance of class SegmentsUtil
> ----------------------------------------------------------
>
>                 Key: FLINK-12335
>                 URL: https://issues.apache.org/jira/browse/FLINK-12335
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Runtime
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Improve the performance of class SegmentsUtil:
> To evaluate the offset, an integer is bitand with a mask to clear to low bits, and then shift right. The bitand is useless:
> ((index & BIT_BYTE_POSITION_MASK) >>> 3)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)