百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

libdatrie

> 编程语言
开源

datrie - 双数组 Trie 库 ================================== 这是一个用于表示数据结构的双数组结构的实现。

183 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

datrie - 双数组 Trie 库 ================================== 这是一个用于表示数据结构的双数组结构的实现。

datrie - Double-Array Trie Library

This is an implementation of double-array structure for representing trie, as proposed by Junichi Aoe [1].

Trie is a kind of digital search tree, an efficient indexing method in which search time is independent of database size. It only takes O(m) search time, where m is the length of the search string. 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.

See the details of the implementation at [2]: https://linux.thai.net/~thep/datrie/datrie.html

Historically, this was first implemented as C++ classes in a library called midatrie [2], but later simplified and rewritten from scratch in C.

-- Theppitak Karoonboonyanan. September 2006.

References

[1] Aoe, J. "An Efficient Digital Search Algorithm by Using a Double-Array Structure". IEEE Transactions on Software Engineering. Vol. 15, 9 (Sep 1989). pp. 1066-1077.

[2] Karoonboonyanan, T. "An Implementation of Double-Array Trie". https://linux.thai.net/~thep/datrie/datrie.html

License

Copyright (C) 2006-2026 Theppitak Karoonboonyanan

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see
.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言