BELUGA BEHR created COMPRESS-435:
------------------------------------

             Summary: Use Switch Instead of InstanceOf For Snappy/LZ4 
                 Key: COMPRESS-435
                 URL: https://issues.apache.org/jira/browse/COMPRESS-435
             Project: Commons Compress
          Issue Type: Improvement
          Components: Compressors
    Affects Versions: 1.15
            Reporter: BELUGA BEHR
            Priority: Trivial
         Attachments: COMPRESS-435.1.patch

Instead of checking for {{instanceof}} in determining block types emitted from 
Snappy/LZ4, use Enumerator + Switch statement.

My micro-benchmarks indicate about a 1% performance improvement over the 
current implementation.



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

Reply via email to