ecoCode-javascript icon indicating copy to clipboard operation
ecoCode-javascript copied to clipboard

GCI535[TERRE][2025] Add rule GCI535 "No imported number format library"

Open Nephtys opened this issue 8 months ago • 0 comments

Importing an external library for lightweight operations increases overall size of the program. Using native methods instead reduces the amount of memory and storage to run and store the application. This is especially critical in environments with limited resources, such as on mobile devices or in web applications where bandwidth and download times matter.

Smaller programs generally have better runtime performance. Reducing the number of unnecessary modules minimizes the amount of code that needs to be interpreted or compiled, leading to faster execution and improved overall performance.

It also increases the maintainability and security of your program by depending on less external dependencies.

Nephtys avatar May 20 '25 15:05 Nephtys