You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2017/06/27 21:25:00 UTC

[jira] [Commented] (HBASE-18281) Performance update in StoreFileWriter.java for string replacement

    [ https://issues.apache.org/jira/browse/HBASE-18281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065499#comment-16065499 ] 

Mike Drob commented on HBASE-18281:
-----------------------------------

Would be even better to make that a static member variable instead of a field so that we only have to compile the pattern once at class init instead of once every time we call.

> Performance update in StoreFileWriter.java for string replacement
> -----------------------------------------------------------------
>
>                 Key: HBASE-18281
>                 URL: https://issues.apache.org/jira/browse/HBASE-18281
>             Project: HBase
>          Issue Type: Improvement
>          Components: community
>            Reporter: Ben Epstein
>            Priority: Trivial
>         Attachments: 0001-HBASE-18281-fixed-performance-using-Pattern.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Change the replaceAll() function using regex with a static Pattern for performance upgrade



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)