Skip to content

Releases: s-yata/marisa-trie

v0.3.1

20 Jul 11:20

Choose a tag to compare

What's Changed

  • Add clang-tidy config and GitHub workflow by @glebm in #100
  • Use alignas() by @jmr in #111
  • Extract countr_zero function by @jmr in #112
  • Use assert instead of MARISA_DEBUG_IF (#99) by @s-yata in #113
  • Use standard library exceptions by @s-yata in #114
  • Fix command type by @kokroo in #116
  • Throw std::system_error instead of std::runtime_error by @s-yata in #115
  • Use uintXX_t instead of UIntXX by @s-yata in #117
  • Fix MinGW64 build Target Windows 8 for PrefetchVirtualMemory by @luadebug in #119

Minor Changes

  • Remove tricks for C and ancient VC++ - 3c0e57e and c537b65
  • Use UINTXX_MAX and SIZE_MAX instead of MARISA_XXX_MAX - af1a223
  • Use std::swap instead of marisa::swap - 24f3970
  • Use constexpr for constant variables - 46601c5
  • Include cstdio instead of stdio.h - c8f9204
  • Throw an exception on memory allocation failure - 7da5ea1
  • Remove typedef - 44e8e00

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

26 May 15:42

Choose a tag to compare

News

  • Minimum C++ standard: C++17
  • CMake support
    • Autotools support is removed.
  • Improved performance
  • Interface updates
    • Movable marisa::Trie
    • Copyable and movable marisa::Agent
    • MARISA_MAP_POPULATE for marisa::Trie::mmap()
  • Clang-Format settings

What's Changed

  • Copy more efficiently in Vector::realloc. by @gsivek in #26
  • KeySet::push_back: Use memcpy to copy by @jmr in #30
  • configure.ac: Add --enable-asan option by @glebm in #62
  • configure.ac: Add --enable-gperftools-profiler by @glebm in #63
  • scoped_ptr/array -> std::unique_ptr by @glebm in #64
  • Add a GitHub Workflow to run tests by @glebm in #65
  • Use default copy constructor and copy-assignment by @glebm in #66
  • vector-test: Delete duplicate TestPopCount() call by @jmr in #67
  • Make Agent copyable and moveable by @glebm in #38
  • Enable Trie::mmap() to use MAP_POPULATE by @s-yata in #68
  • Add CMake support by @glebm in #69
  • Mark Trie move as noexcept by @glebm in #70
  • vector.h: fix a few clang-tidy warnings by @glebm in #71
  • Run tests on mac OS and ubuntu 22.04 by @jmr in #72
  • Remove autoconf and vs2019 by @glebm in #73
  • Add ifdef for MAP_POPULATE by @jmr in #74
  • Fix Agent copy for predictive search by @glebm in #77
  • Use std::popcount and __builtin_popcount if available by @jmr in #78
  • cmake: Fix ENABLE_NATIVE_BUILD by @glebm in #80
  • Optimize select_bit by @jmr in #52
  • Add and use .clang-format by @jmr in #82
  • Enable MARISA_MAP_POPULATE on FreeBSD and Windows by @s-yata in #83
  • Use C++11 features by @s-yata in #84
  • Use in-class initializers by @jmr in #85
  • Use C++17 features by @s-yata in #87
  • PopCount::count: Rename to popcount by @jmr in #88
  • vector: Assume T is trivially copyable and destructible by @jmr in #89
  • CMake: Fix header install by @glebm in #91
  • Add a clang-format GitHub workflow by @glebm in #94
  • CMake: Bring back marisa.pc.in by @glebm in #95
  • cmake: force to build a static library from cmdopt.cc by @s-yata in #96
  • State: Use std::vector by @glebm in #97
  • Remove clang warnings by @s-yata in #101
  • Add more missed in-class initializers by @jmr in #102
  • Remove Algorithm class and algorithm.h by @jmr in #104
  • Enable dependabot to keep github actions up-to-date (#103) by @s-yata in #106
  • windows.yml: Depend on actions/checkout hash by @jmr in #105

New Contributors

Full Changelog: v0.2.7...v0.3.0

marisa-trie v0.2.7

17 May 09:25

Choose a tag to compare

What's Changed

  • remove extra semicolon by @Karry in #25
  • select_bit: Extract 32-bit non-SSE2 version by @jmr in #29
  • BitVector::build_index: 100x speedup by @jmr in #28
  • Add string_view getters and setters by @jmr in #27
  • Use MARISA_DEBUG_IF in scoped-*.h as opposed to MARISA_THROW_IF by @tony-mak in #32
  • marisa-build: Change long arg name to --num-tries by @jmr in #48
  • Use (0 - x) instead of (~x - 1) for -x by @jmr in #34
  • Fix detection of MARISA_WORD_SIZE by @ncopa in #58

New Contributors

Full Changelog: v0.2.6...v0.2.7

marisa-trie v0.2.6

25 Jun 15:46

Choose a tag to compare

Source code with a configure script: marisa-0.2.6.tar.gz

Note that you can generate the configure script by autoreconf -i.

What's Changed

  • Fix swap overload by @glebm in #20
  • Auto check SSE availability and new option to enable all of them by @jakwings in #12

New Contributors

Full Changelog: v0.2.5...v0.2.6

marisa-trie v0.2.5

20 May 03:31

Choose a tag to compare

marisa-trie v0.2.5