php-dql-tokenizer

所属分类:特征抽取
开发工具:C
文件大小:17KB
下载次数:0
上传日期:2010-08-23 13:00:34
上 传 者sh-1993
说明:  php dql标记器,,
(php-dql-tokenizer,,)

文件列表:
EXPERIMENTAL (0, 2010-08-23)
config.m4 (267, 2010-08-23)
dql_tokenizer.c (26599, 2010-08-23)
example (0, 2010-08-23)
example\myQueryTokenizer.class.php (1491, 2010-08-23)
php_dql_tokenizer.h (4809, 2010-08-23)
test-performance (0, 2010-08-23)
test-performance\execute-dql.php (4237, 2010-08-23)
test-performance\execute-dql.sh (109, 2010-08-23)
test-performance\memory.php (3325, 2010-08-23)
test-performance\memory.sh (731, 2010-08-23)
tests (0, 2010-08-23)
tests\test_1.phpt (268, 2010-08-23)
tests\test_10.phpt (399, 2010-08-23)
tests\test_11.phpt (303, 2010-08-23)
tests\test_12.phpt (231, 2010-08-23)
tests\test_2.phpt (360, 2010-08-23)
tests\test_3.phpt (749, 2010-08-23)
tests\test_4.phpt (260, 2010-08-23)
tests\test_5.phpt (337, 2010-08-23)
tests\test_6.phpt (766, 2010-08-23)
tests\test_7.phpt (469, 2010-08-23)
tests\test_8.phpt (500, 2010-08-23)
tests\test_9.phpt (584, 2010-08-23)

====== README ====== What is php-dql-tokenizer? ========================== This extension is for improving performance of Doctrine_Query_Tokenizer. INSTALL ======= Execute the following commands:: $ phpize $ ./configure $ make # make install Then add the following to your php.ini:: [dql_tokenizer] extension=dql_tokenizer.so How To Use ========== This extension provides functions that corresponds to the methods of the Doctrine_Query_Tokenizer class. So you need to define a new tokenizer classes to use this extension. First, you write the following code in your query class:: if (function_exists('dql_tokenize_query')) { $this->_tokenizer = new myQueryTokenizer(); } Next, you define a new tokenizer class. You can get the example class file from "example/myQueryTokenizer.class.php". Credits ======= Kousuke Ebihara ebihara@php.net http://co3k.org/ TODO ==== * There are many duplicated codes (e.g. iterating hash tables) * Some functions are tooooooooooo long

近期下载者

相关文件


收藏者