Github user zentol commented on the pull request:

    https://github.com/apache/incubator-flink/pull/4#issuecomment-46653245
  
    i may have misunderstood your question. if you want to compare the data 
byte-wise, without having to modify it (like padding with zeroes) or analyze it 
(like reading them as chars), then the encoding has to be changed, my idea 
would be using the first 2 bits of every byte to encode the index of that 
particular byte.
    
    This will reduce the effectiveness of the variable-length encoding (all 
letters are encoded with 2 bytes), but you could use the very loop you 
described.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to