Git Product home page Git Product logo

backupd's Introduction

Hi 👋, I'm Pavel Chernov aka K1rch

C/C++ developer, student and member of Tanuki Squad team

K1rch

🔹 I'm currently studying in the "System Programming" program at HSE

🔹 Specialist (bachelor) in technical and software information security

🔹 Network engineer and system administrator

🔹 C and C++ Programmer in ISP of RAS

Feel free to ask: link in telegram

Languages and Tools:

bash bootstrap c cplusplus django docker flask git go linux mysql postgresql python qt

backupd's People

Contributors

ya-pasha-364shy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

backupd's Issues

Уменьшить вычислительную сложность алгоритма поиска директории в хеш-таблице

Как вариант можно сделать для каждого элемента хеш-таблицы ссылку на следующий заполненный элемент и т.д., чтобы не итерироваться по всему размеру таблицы, а просматривать только заполненные элементы. К слову, сложность это не уменьшит, но количество итераций уменьшится.

Чтобы уменьшить сложность, нужно использовать другой алгоритм поиска.
Бинарный поиск ?

https://github.com/K0001rch/backupd/blob/50b54df074798e0550890b7a54ff1caa9f722649/helpers/helpers_common.c#L313-L332

Обработать и заменить вызов system

system -> execl
Обработать фейл вызова system (или execl если замена на этот вызов будет произведён).
Предлагаю обрабатывать вызов запуском перебора элементов хеш-таблицы и так до тех пор пока system (execl) не будет выполнен.

https://github.com/K0001rch/backupd/blob/50b54df074798e0550890b7a54ff1caa9f722649/helpers/helpers_common.c#L466

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.