wtclarke / spec2nii

Multi-format in vivo MR spectroscopy conversion to NIFTI
Other
27 stars 23 forks source link

Use literal syntax to create the data structure #99

Closed DimitriPapadopoulos closed 1 year ago

DimitriPapadopoulos commented 1 year ago

Minor performance issue.

wtclarke commented 1 year ago

Hi, I don't doubt that there is a minor performance bump in doing this, but it is mostly cosmetic and I have no desire to create unnecessary code changes. In general, changes can introduce subtle bugs and also complicates using tools like git blame.