Giter Club home page Giter Club logo

Comments (3)

alpiccioni avatar alpiccioni commented on June 12, 2024 1

Hey! This is actually intentional for now. Until I get both the bugs filed for this fixed, I'm hesitant to advertise this in the help, as it's really more of an in-development feature at this point.

Thanks for pointing it out, though! I had forgotten that I excluded it and I need to remember to add it when I get it fully done.

from purr.

questor avatar questor commented on June 12, 2024

this mode (ctrl-u) is also not mentioned in the readme nor in the preview-help....

from purr.

alpiccioni avatar alpiccioni commented on June 12, 2024

Massive parallelization is hard here because each streams needs the messages to come out in order. Unfortunately, just running the messages through a while loop in zsh with tail is pretty slow at about 1000QPS in Linux. That effectively caps how quickly we can process each message, and the overhead on each pipe IO operation pushing between threads is also very slow; 1ms per query is prohibitive.

There's a bunch of fancy solutions I can do here if I want to keep this pure zsh. Thread coordination is hard, but it's not impossible. But I think that's not required; I'm hammering screws at this point.

We already declare a dependency on perl. I think the best thing to do is to bundle a trie implementation in perl and do all the processing in a sub-process running perl, which should be much much faster to begin with, and perl is pretty good at text manipulation and string comparison to begin with.

from purr.

Related Issues (6)

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.