Giter VIP home page Giter VIP logo

Comments (6)

lawremi avatar lawremi commented on June 29, 2024

Ideally we would use a light weight representation (like the proposed RleListMatrix) that is more computable than a delimited string.

from variantannotation.

jonocarroll avatar jonocarroll commented on June 29, 2024

I'm not sure whether or not the Rle benefit will work across lists, but if it can then that may solve all of the problems.

from variantannotation.

lawremi avatar lawremi commented on June 29, 2024

I think it would in this case, because of how the Rle compression helps the character case.

from variantannotation.

jonocarroll avatar jonocarroll commented on June 29, 2024

Does it work in that context because a matrix is just a vector with a dim so you can actually compress long runs of sequential elements? I'm not sure I see how that manifests for the 'vector of lists' case but perhaps something clever can be done in the unlisting/relisting sense to take advantage of that.

from variantannotation.

lawremi avatar lawremi commented on June 29, 2024

It will be efficient as long as the RleList is a CompressedList, meaning that internally there is just a flat vector that is lazily partitioned into list elements.

from variantannotation.

jonocarroll avatar jonocarroll commented on June 29, 2024

In that case it may even be slightly more performant than the string version as there would be even fewer unique values over which a run may compress. Nice!

from variantannotation.

Related Issues (20)

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.