v0.0.2

Released on February 5, 2020

Downloads

No downloads available.

Changes

Added

  • File::loadTable<T> method
  • uint16_t overload for correctEndian
  • Destructor and copy constructor to Table<T>
  • Table<T>::insert methods
  • Table<T>::clear
  • Version struct + operator overloads

Changed

  • Rewrote implementation for Table<T>, no longer uses std::unordered_map Uses a vector for the item data, and a 256 uint8_t array that maps an id to an index in the vector. Allowing for faster lookups but a slight performance loss when removing items.
  • Refactored pattern_demo.cpp and File.cpp to use new Table implementation
  • table size is now a 2 byte field when saving/loading
  • add setSpeed() overload to calculate speed from tempo/rpb settings. Song no longer calculates speed when tempo or rpb is set.

Removed

  • Table<T>::add, Table<T>::set, as these methods are no longer needed as the insert methods should be used instead.