Git Product home page Git Product logo

1brc.cs's People

Contributors

nietras 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

Watchers

 avatar  avatar  avatar

1brc.cs's Issues

Maybe skip too many lines in FindEndOfFileSegment

Hello,

I'm not 100% sure but I think you might cut your last segment to short in FindEndOfFileSegment.

I think you should use span.LastIndexOf(LineFeed); instead of span.IndexOf(LineFeed); as there is, at least in my current exemple, multiple lines present in the 256 byte span (System.Text.Encoding.UTF8.GetString(span) listed 16 lines).

Hope I didn't miss anything, sorry if I did.

My measurements

Sorry if I made you feel uncomfortable or something...

Let's discuss my measurements here.

I have just spent some time updating your repo to this and making it work again on Linux
image

But the results were nothing like I had in the preliminary section of my table. (And yes, it was nothing more than preliminary results).

I now see you are quite active right now and maybe be I did run some bad commit.

Please tell me when I could re-run everything from the master head.

Benchmarking relative to your entry

Hey @nietras, I just wanted to let you know that I benchmarked my 1brc attempt against your implementation and mentioned you in my README. You've got the fastest established C# implementation I was aware of so it seemed like an important baseline to have. If you have any concerns or questions about what I wrote there (or if you'd like me to remove any of it), just let me know. Thanks!
https://github.com/noahfalk/1brc/tree/main

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.