GithubHelp home page GithubHelp logo

black-arrow's People

Contributors

mohitabz avatar thedataleek avatar zoetalus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

black-arrow's Issues

Better number formatting

Currently for very large results the numbers aren't great. Adding some formatting to help readability would be nice.

---------------
Files Searched: 11100
Files Matched: 2
Lines Searched: 11290394
Duration: 16.575687885284424

Case insensitivity

Turn on case insensitivity by default and only on if flag or uppercase in search term

Better Keyboard Interrupt

Current behavior when sometimes using ctrl-c to interrupt -> lots of errors.

Expected behavior -> Nice happy cleanup

Add config files

Need to be able to configure the run based on some config file (either global or local)

Replace Feature

Requested, would be nice to have a replace feature built in.

final `.join()` hangs in certain conditions

I've found a condition where the final .join() call in main hangs. It appears to be related to the number of matches and not to the number of files. I've hacked a bit and found that all of the processes that are started think they have exited (at least by printing on the last line of the function).

Here's the setup:
linuxMint 64bit
python 3.7.4
I'm using this repo (just happened to be sitting on my filesys): https://github.com/PySimpleGUI/PySimpleGUI

Searching for "asdfadsf" exits correctly. Searching for "the" hangs indefinitely.

I'm suspicious that a queue is holding a process open, but haven't gotten that far yet.

I'll dig some more, but I thought I'd go through the process and raise an issue. :) Thanks for sharing this project! Super cool!

Add benchmarks

Would be interesting to compare against the silver searcher, grep/find, etc.

Make it faster

This might be impossible. Currently comparing to ag, blackarrow is about 3 times slower than ag. This is pretty good for a pure-python approach vs whatever compiled language ag is written in. but can we do better?

Better documentation/Comments

I need to create a writeup that explains the multi-processing architecture (I have a few diagrams floating around somewhere...)

I also need to add more comments explaining step-by-step how/what/why/etc.

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.