Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
While implementing customize compressor, I found that carbon compressor deal with primitive object while compressing/decompressing which I think will cause efficiency because:
1. many compressor do not provide compress/decompress interface for primitive objects, we need to handle it ourselves, which may cause unnecessary conversion from primitive to bytes and from bytes to primitives;
2. for querying, we need to decompress the content. I think it's better to keep them in bytes and convert them to primitives until it is needed.