Git Product home page Git Product logo

frameofreference's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

frameofreference's Issues

Remove unnecessary padding

When compressing, the code adds some padding toward the end to preserve 32-bit alignment. This could be removed, at the cost of portability.

turbouncompress64 calls bits function instead of bits64

Hi, I found that for a particular dataset of 32 64-bits numbers, the compressed-and-then-uncompressed array differ from the original one.

I debugged this and for the compression phase, the pack function chose is packforblock38_64 but when the compressed array is uncompress, the turbouncompress64 calls bits instead of bits64 yielding as result int b = 32 instead of int b = 38.

Additional notes

I created in a personal branch with the environment that I used for testing.

I adapted the test binary to read samples of 64 bits (test.src) and the sample file t2sample.txt can be found also in the same branch.

To reproduce the issue, compile and run ./test t2sample.txt.
Here is the output:

No OpenMP support
####### processing t2sample.txt
# Parsing vector file t2sample.txt

[turbo benchmark64]
vector size = 32
vector size = 0.25KB
compression rate:1.5
bits/int:43
volume: 0.17KB
idx: 1 original/decompressed: 1560036738145229/1560036738221396
idx: 2 original/decompressed: 1560036742630299/1560037934073620
idx: 3 original/decompressed: 1560036742631201/1560040499648280
<....>

The output shows how the original and the decompressed bytes differ from the begin.

I hope that this can be of any help, and sorry for any grammatical error, English is not my native language.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.