Coder Social home page Coder Social logo

m-bus-parser's Issues

Wrong Parsed Volume 12 digit BCD

Input String:
68 4F 4F 68 08 00 72 78 56 34 12 E6 1E 02 07 08 00 00 00 0E 93 3D 18 73 01 00 00 00 04 3B E8 03 00 00 04 6D 09 20 01 01 0E 93 BD 3B 18 73 01 00 00 00 0E 93 BD 3C 00 00 00 00 00 00 02 65 69 09 02 59 D0 07 04 FD 17 00 00 00 00 02 FD 74 F9 06 0F 50 0A 90 16

Output: Parse to Table

The output is a volume of (1007318)e-3. But the correct output volume should be 17318.

Add meaningful bench mark tests

The "bench" folder contains only stubs. Create a meaningful bench mark of the parser.
I don't know much about bench marking in rust (yet) but it should be the aim of this task to measure how fast / efficient the parser achieves its goals. It should be possible to track this over time, from version to version.

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.