---
title: "新的词库结构"
author: "luolonghao"
date: "2008-06-13T22:09:53Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2009-03-21T18:56:51Z"
id: 203120
url: "https://luolonghao.iteye.com/blog/203120"
---

目前词库设计的不太合理，查询时IO读取字节太多。打算采用分页法重新设计词库，还有为了方便通过P2P共享词库，每个词典就一个文件。

文件名:
--
转换前
源文件: your-dict.dict
转换后 
词库文件: your-dict.xdd

结构:
--
源文件: 和现在一样
词库文件: