GithubHelp home page GithubHelp logo

velvia / filo Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 10.0 406 KB

Fast, memory-efficient, minimal-serialization, binary data vectors for Scala and other languages

License: Apache License 2.0

Scala 85.35% Java 14.65%

filo's People

Contributors

leifwickland avatar velvia avatar

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  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  avatar  avatar  avatar

filo's Issues

Implement support for BigDecimal / Arbitrary precision ints/decimals

Key questions:

  1. Base type to use

BigDecimal has two components: a variable precision unscaled value and a 32-bit scale.
2. Filo binary format

  • Anything that fits in Long/Int/smaller (scale == 0 for all numbers, unscaled value < 64 bits) should use SimplePrimitiveVector / DiffPrimitiveVector for efficient storage.
  • Otherwise, store unscaled values as binary blobs. Most of the time the size of these blobs are probably very similar, so consider something like FixedBinaryVector to save on space (8 bytes per element savings). Store the scale as a SimplePrimitiveVector since most scale numbers are very small and can be stored efficiently.
  • Consider converting what we can to floats/doubles for efficiency -- if no loss when converting back and forth

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.