kirei / python-base45

Base45
BSD 2-Clause "Simplified" License
21 stars 8 forks source link

Performance improvement of the loop #2

Closed vinzenz closed 3 years ago

vinzenz commented 3 years ago

Previously the loop contained an additional branch that can be avoided. This patch changes it to process the uneven part of the input buffer after the loop therefore this will increase in a speed up.

jschlyter commented 3 years ago

Nice work!