Page 1 of 1

It sounds a bit excessive to require a python download to do searching

Posted: Mon Dec 09, 2019 9:00 am
by tobindax
Why not use this https://en.cppreference.com/w/cpp/regex ? It's much faster, it's very easy to compile and it's cross-platform.

Re: It sounds a bit excessive to require a python download to do searching

Posted: Wed Dec 11, 2019 11:33 am
by Peter
Well, qBittorrent is open-source. You are more than welcome to write a complete overhaul of the Python-using systems and submit them as patches. (No offense intended, I really mean it. People do submit patches like this all the time and they get accepted once it matches the quality standards. That said, the plugins are in Python IIRC, so you'd have to come up with your own 100% rule/search engine system that you'd then import into qBittorrent. So you'd have to write the whole regex/Python port, then some kind of markup system so users could write plugins, then you'd have to port all the plugins.)

That said, Python is installed on every Linux distribution. Windows ships it in Store now or you can grab the regular package. Python is everywhere... So I don't really see it as a big drawback tbh.