./devel/libdatrie, Implementation of Double-Array Trie

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.13, Package name: libdatrie-0.2.13, Maintainer: pkgsrc-users

datrie is an implementation of double-array structure for representing trie, as
proposed by Junichi Aoe.

Trie is a kind of digital search tree, an efficient indexing method with O(1)
time complexity for searching. Comparably as efficient as hashing, trie also
provides flexibility on incremental matching and key spelling manipulation.
This makes it ideal for lexical analyzers, as well as spelling dictionaries.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: ff3d30605fdc9a226e7acde8de3752125b3a8791
RMD160: ecc5608111427f537e0f1b825275a191f3080eca
Filesize: 306.711 KB

Version history: (Expand)


CVS history: (Expand)


   2021-01-29 19:33:10 by Sean Cole | Files touched by this commit (4)
Log message:
libdatrie 0.2.13 Released

@thep thep released this Jan 29, 2021

    Fix wrong key listing in byte trie
    (Issue #9, Thanks @legale for the report.)
    Fix cross-compiling issue caused by AC_FUNC_MALLOC
    (Issue #11, Thanks @vmchale for the report.)
    Fix isspace() arg problem on NetBSD.
    (Personal mail, Thanks Sean for the report;
    PR #8, Thanks @obache for an individual pull request.)
    Fix some documentations.
    Really use TRIE_CHAR_TERM in TrieChar string termination.
    Changing TRIE_CHAR_TERM definition now won't break the code.
    Fix Windows build issue by avoiding <unistd.h> include.
    (Partially addressing PR #15, Thanks @fanc999 for first raising this.)
    [New APIs] Add serialization of the trie into memory buffer.
    (PR #12, Thanks @KOLANICH for the contribution.)
   2021-01-01 22:49:39 by Sean Cole | Files touched by this commit (5) | Package updated
Log message:
update to 0.2.12nb2
- use github links
- use unsigned char patches from original author
- patch configure.ac to disable doxygen since original is troublesome on netbsd9 \ 
system
   2020-07-30 03:56:16 by Sean Cole | Files touched by this commit (3)
Log message:
Add unsigned char cast for isspace() or can fail to parse words properly, bump \ 
pkgrevision
   2018-07-11 20:08:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
libdatrie: updated to 0.2.12

0.2.12:
- More C90 (ANSI C) compliance.
- Prevent some compiling conflicts with other sources.
- Fix miscellaneous compiler warnings.
- Prevent trimming on extremely long dictionary path names.
   2018-04-23 09:00:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
libdatrie: updated to 0.2.11

0.2.11:
- Detect iconv() error more correctly in trietool.
- Clarify package description that search time is O(m), where m is
  key length, not O(1), while still claiming that it's independent
  of database size.
- Fix trie_state_get_data() on a prefix key.
- Fix reported segfault on full-range alpha map.
   2018-02-23 16:02:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
libdatrie: updated to 0.2.10

0.2.10:
- Correctly check doxygen version on configure.
- Optimization on AlphaMap mapping.
  (contributing to 0.2% less run time for LibThai word breaking)

0.2.9:
- Fix binary file opening on Windows
- Fix infinite loop on empty trie iteration.
- Micro-optimization with LIKELY/UNLIKELY hints.
  (contributing to 4.76% faster dictionary loading, 1.95% faster
  word breaking for LibThai)
- Improved error handling
- 'trietool-0.2' utility is renamed to just 'trietool'
- Improved documentation
- No timestamp on Doxygen-generated doc
   2018-01-07 14:04:44 by Roland Illig | Files touched by this commit (583)
Log message:
Fix indentation in buildlink3.mk files.

The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
   2017-08-16 22:21:18 by Thomas Klausner | Files touched by this commit (180)
Log message:
Follow some http redirects.