HEXRD / hexrd

A cross-platform, open-source library for the analysis of X-ray diffraction data.
Other
54 stars 26 forks source link

Do not set values to 0 that are not referenced. #624

Closed ZackAttack614 closed 3 months ago

ZackAttack614 commented 3 months ago

Removed unnecessary setting of large arrays, roughly 6% estimated speedup for caking scripts.

pep8speaks commented 3 months ago

Hello @ZackAttack614! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 883:80: E501 line too long (84 > 79 characters)

Comment last updated at 2024-03-29 16:52:19 UTC