Skip to content

Releases: Apricot-S/xiangting

v3.1.1

08 Feb 13:13
1da0a64
Compare
Choose a tag to compare

Refactor

  • Change the Map structure (#68)

Test

  • Add tests for hash functions (#67)

Docs

  • Add comments about omitting calculations (#69)

Full Changelog: v3.1.0...v3.1.1

v3.1.0

02 Feb 04:55
b77a712
Compare
Choose a tag to compare

Feat

  • Add Tile type alias (#65)

Docs

  • Change the Error to refer to (#64)

Full Changelog: v3.0.0...v3.1.0

v3.0.0

01 Feb 06:39
bf317f8
Compare
Choose a tag to compare

Breaking Changes

  • Improve InvalidShoupaiError (#56)

Refactor

  • Measure the execution time of build-map within the program so as not to include the build time (#57)
  • Fix if chain can be rewritten with match (#60)
  • Allow clippy::too_many_arguments in build-map (#61)
  • Fix clippy::needless_range_loop (#62)

Docs

  • Add the author of Nyanten (#58)

Chore

  • Update dependencies (#59)

Full Changelog: v2.0.6...v3.0.0

v2.0.6

18 Jan 18:51
ccaf632
Compare
Choose a tag to compare

Refactor

  • Change unnecessary copies to references in standard::calculate_replacement_number (#52)
  • Improve the efficiency of fulu_mianzi_list processing (#53)
  • Fix clippy::clone_on_copy (#54)

Full Changelog: v2.0.5...v2.0.6

v2.0.5

12 Jan 17:38
999e92c
Compare
Choose a tag to compare

Refactor

  • Rewrite hash function using iterator (#49)
  • Change the temporary variable in shisanyao::calculate_replacement_number to a reference (#50)

Full Changelog: v2.0.4...v2.0.5

v2.0.4

10 Jan 12:25
faa7512
Compare
Choose a tag to compare

Fix

  • Fix wrong loop range in DP (#40)

Refactor

  • Simplify sequence operating logic using iterators in build-map (#34)
  • Remove dependence on cxx-build except during verification tests (#35)
  • Simplify tiles counting logic (#36)
  • Simplify shisanyao::calculate_replacement_number() for clarity (#37)
  • Simplify qiduizi::calculate_replacement_number() for clarity (#38)
  • Use iter().min() instead of std::cmp::min() for clarity (#39)
  • Omit the unnecessary calculation of partial replacement number of 0 pair 0 meld in DP (#41)
  • Cast num_required_melds to usize beforehand (#42)

Docs

  • Improve the wording of README (#43)
  • Improve the wording of doc comments (#45)
  • Add API reference link and update cargo add command (#46)
  • Delete the unnecessary "the" after "a.k.a." (#47)

Chore

  • Add package keywords (#44)

Full Changelog: v2.0.3...v2.0.4

v2.0.3

29 Dec 04:09
e7794a8
Compare
Choose a tag to compare

Refactor

  • 0 pair 0 meld's replacement number and necessary tiles fixed to 0 (#31)
  • Eliminate unnecessary calculations in build-map (#32)

Full Changelog: v2.0.2...v2.0.3

v2.0.2

22 Dec 10:57
8f7497b
Compare
Choose a tag to compare

Refactor

  • Optimize pre-calculation map structure (#23)
  • Make each function in build-map generics to standardize duplicated code (#24)
  • Introduce pruning DFS to pre-calculate partial replacement numbers (#27)
  • Fix typo s/necesaary/necessary (#28)

Docs

  • Run build_map.sh only if build_table.sh is successful (#25)
  • Add a note to the README about the calculated values (#26)

Full Changelog: v2.0.1...v2.0.2

v2.0.1

19 Nov 17:24
592dcf9
Compare
Choose a tag to compare

Chore

  • Set up colorful debug output in Dev Container (#19)
  • Update script permissions for correct user ownership (#20)

Full Changelog: v2.0.0...v2.0.1

v2.0.0

07 Nov 14:18
756baba
Compare
Choose a tag to compare

Feat

  • Change the replacement number calculation algorithm (#14)

Refactor

  • Count 4 tiles in shoupai only if fulu is included (#16)

Chore

  • chore: Update dependencies (#15)

Full Changelog: v1.0.1...v2.0.0