Research on Efficiency Optimization of an Algorithm based on Perfect Numbers
Code performance optimization is crucial for improving the efficiency of software operation. Mastering the thinking and implementation strategies of code performance optimization is a basic quality that every programmer should possess. Based on the solution of finding perfect numbers within a specified range, a scheme was designed to demonstrate modern code performance optimization ideas and methods. This scheme includes analysis of redundant calculations in the code, multiple elimination methods, similarity problem association method, space-time reduction method, and multi-threaded parallel computing optimization methods. The results show that this optimization scheme can greatly improve the algorithm running efficiency of perfect number solving. In addition, the factorization method of perfect number prime factors proposed in the scheme can provide certain ideas for solving perfect number-related problems.
Authors
- Mugang Lin (ORCID: https://orcid.org/0000-0003-4938-4407)
- Liangwen Tang (ORCID: https://orcid.org/0000-0001-5060-9576)
- Qingyun Liu (ORCID: https://orcid.org/0000-0003-4815-3463)
- Qiuping Li (ORCID: https://orcid.org/0000-0002-5370-8606)
Institutions
- Hengyang Normal University (CN)
Publication Details
- Published
- 2025-05-23
- DOI
- https://doi.org/10.1109/eeiss65394.2025.11085571
- Primary Topic
- Advanced Numerical Analysis Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00