TheFeshy / mp3utensil

A tool for validating, merging, and splitting mp3 files - focused on badly split and merged audio books.
2 stars 1 forks source link

Move to array storage of headers instead of lists #16

Closed TheFeshy closed 10 years ago

TheFeshy commented 10 years ago

Currently the largest amount of time is spent allocating objects, such as headers. The closest we can come to a pool allocator in python is an array, so we'll start using an array to store header values in. Hopefully this will help the continuing improvements in performance. Current targets to beat:

Numpy (best of three): Big: 17.97 One: 0.528 Two 0.822

Python only: Big: 21.14 One: 2.37 Two: 0.96