Budget: 100 USD Deadline: 1 day
Hello!
Your script is slow because of two functions:
generate_auto_seed() — bit enumeration, working with large numbers.
rank_two_symbols_optimized() — permutation rank calculation (heavy combinatorial operations).
What I will do:
1. Algorithmic optimization
I will replace the enumeration with an O(n) algorithm for ranking binary sequences (analogous to the Combinatorial Number System).
I will pre-calculate binomial coefficients in O(n²) once, not in a loop.
2. Speedup by 10-100 times
I will rewrite critical parts in Cython (remove Python overhead).
I will add Numba JIT compilation for math.
If needed — SIMD instructions (AVX2) via C extensions.
3. Parallelism and memory
I will split the data into blocks, process in 4-8 threads (multiprocessing).
I will replace lists with numpy.ndarray (dtype=uint8) to save memory.
4. Guarantees
The first 500 KB will be processed in ≤3 sec in 2 days.
The final result is 1-3 sec/MB (or I will refund the money for the improvements).
Why me?
I recently accelerated similar code for seed generation in cryptography (from 30 sec to 0.8 sec).
I am ready to show a prototype on the first 100 lines of your data for free.
What should I send:
Sources of generate_auto_seed() and rank_two_symbols_optimized().
An example of input data (bit array 0/1).
Precise requirements for the environment (Python 3.10? Linux/Windows?).
Starting today. Waiting for your data!
Respectfully,
Ziqo,
P.S. If you have any doubts, I can do a free analysis of 10-20 lines of code and show how to speed them up
Roman Smolyakov
Winning proposal- Projects 33
- Rating 5.0
- Rating 2 096
Budget: 95 USD Deadline: 1 day
Good day! I am always available to help. Write to me, we will discuss! And don't forget to check out the portfolio — there is a lot of interesting stuff there!
Budget: 100 USD Deadline: 2 days
Hello, I am interested in your offer, can I learn more about it in private messages.
Proposals are currently absent
-
Yevhen Shevchenko 14 April 2025Доброго дня. Будь ласка, надайте зразу посилання на ваш код, git ... дякую.
Current freelance projects in the category C & C++
What needs to be done: develop an EXE application in C++; create a modern graphical interface according to my design; implement the program logic; ensure stable operation on Windows 10 and Windows 11; provide the source code in Visual Studio (.sln, .vcxproj). I already have: interface design (screenshots attached); program operation concept; list of features to discuss with the performer. Requirements for the performer: confident knowledge of C++; experience with Microsoft Visual Studio; experience in developing Windows Desktop applications; neat and readable code; willingness to maintain communication during development. Please, in your response send: examples of your EXE programs; experience with C++; estimated completion time; cost of work.
Good day It is necessary to create a module that will work with the Firebird database in C++ for selling products. There are examples of ready-made solutions and a description of the module's functionality. Main functions: authorization, selection of products on the screen from groups/subgroups, transition to the cart, payment by card, and printing the receipt. The program must work on Windows 10 and above, using the existing database.
A patch is required for the graphics card driver that expands the capabilities of managing the graphics adapter by adding additional user settings. The patch must integrate into the existing driver architecture without disrupting its core functionality and ensure compatibility with supported versions of the operating system. The main goal is to provide more flexible access to parameters that are not available in the standard driver control panel, with the ability to modify them through a user interface or software API. The patch should provide a modular structure that allows for the addition of new parameters in the future without significant code redesign. It is necessary to ensure proper error handling, change logging, the ability to revert settings to default values, as well as maintain compatibility with future driver updates as much as possible. The solution should be accompanied by technical documentation describing the architecture, implemented capabilities, limitations, and testing recommendations.