Git Product home page Git Product logo

Comments (7)

mcmillab avatar mcmillab commented on June 4, 2024

Downloading the source code, and investigating, within RingBuffer.Fill, there's a variable called _bufferPadRef which is used to leave some nulls at the start of the ringBuffer.

If I create new ringbuffer entries for those initial entries which are meant to be ununused (in the buffer), then my code will run on Linux too without any problems.

That's a fudge, clearly the padding is there for a reason.

from disruptor-net.

ocoanet avatar ocoanet commented on June 4, 2024

I see the problem: in the Util class, the array data offset is assumed to be 8/16 bytes but this is not the case on Mono. I will fix that, sorry.

from disruptor-net.

mcmillab avatar mcmillab commented on June 4, 2024

great - can you let me know when it's released please?

from disruptor-net.

ocoanet avatar ocoanet commented on June 4, 2024

Sure. The data offset code was only changed in the last version, you can try using version 3.6.0 if you want to.

from disruptor-net.

ocoanet avatar ocoanet commented on June 4, 2024

I just pushed a fix, can you try it before I publish the package?

from disruptor-net.

ocoanet avatar ocoanet commented on June 4, 2024

I was able to run the tests and the performance tests on Mono-x32 and Mono-x64, so I published a new version with the fix.

from disruptor-net.

mcmillab avatar mcmillab commented on June 4, 2024

sorry, would have done this for you, but we're clearly in different timezones.
I've just tested the release, looks good to me, thanks.

from disruptor-net.

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.