Sheffield-iGEM / syn-zeug

A modern toolbox for synthetic biology
https://sheffield-igem.github.io/syn-zeug/
GNU Affero General Public License v3.0
6 stars 3 forks source link

Document Performance Shortcuts for Developers #24

Closed TheLostLambda closed 2 years ago

TheLostLambda commented 2 years ago

There are a number of tools that contain less-than-idiomatic code (like count_elements()). These deviations from best practice need to be justified! Comments containing the alternative, idiomatic code should be inserted alongside a note that records the performance difference between that and the optimized code (something like // Showed a 1.4x increase in performance).

This should help us keep track of what's already been tried down the line when it comes to optimization vs code-style.