Coder Social home page Coder Social logo

Comments (5)

yne avatar yne commented on August 22, 2024

Yes, in your file example, channel number is made of 5 character aaaaa wich mean up to 7339040224 entries

The only solution would be to store the channel list as HashMap<string,Channel>

I'll keep this refactor in mind. It'll be usefull for many other cases.

from vcd.

yne avatar yne commented on August 22, 2024

I made a hashmap based version, but the ordering are not kept during listing so I won't merge #19 for now

but here is a built asset:
vcd.zip

from vcd.

nantunest avatar nantunest commented on August 22, 2024

Yes, in your file example, channel number is made of 5 character aaaaa wich mean up to 7339040224 entries

The only solution would be to store the channel list as HashMap<string,Channel>

I'll keep this refactor in mind. It'll be usefull for many other cases.

Is it something normal to have this quantity of channels? Wha does the channel number mean? Should it be the quantity of signals in the plot?

from vcd.

yne avatar yne commented on August 22, 2024

VCD Channels are numbered with 1 character, if all the 86 allowed character are taken, you can use 2 character to go up to 7396 channel etc.
In your VCD, the first channel is numbered with an "aaaaa" name, so it's quite a huge number.

from vcd.

yne avatar yne commented on August 22, 2024

The new HashMap version seems to be working very well, but it now requires a khash.h + kvec.h headers from klib

I used git submodule to avoid duplicating the code, but I could also copy those two headers file in my repo (I find this dirty, but that's subjectiv)

@UffeJakobsen : from a maintainer perspective, could having a git submodule be problematic ?

from vcd.

Related Issues (9)

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.