Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
5438d262
Commit
5438d262
authored
May 22, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Just improved the comment at the top.
parent
e5151c87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lib/python/Products/ZCTextIndex/okascore.c
lib/python/Products/ZCTextIndex/okascore.c
+3
-2
No files found.
lib/python/Products/ZCTextIndex/okascore.c
View file @
5438d262
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
*
*
* The inner scoring loop of OkapiIndex._search_wids() coded in C.
* The inner scoring loop of OkapiIndex._search_wids() coded in C.
*
*
* With the Python scoring loop,
* Example from an indexed Python-Dev archive, where "python" shows up in all
* but 2 of the 19,058 messages. With the Python scoring loop,
*
*
* query: python
* query: python
* # results: 10 of 19056 in 534.77 ms
* # results: 10 of 19056 in 534.77 ms
...
@@ -24,7 +25,7 @@
...
@@ -24,7 +25,7 @@
* # results: 10 of 19056 in 277.52 ms
* # results: 10 of 19056 in 277.52 ms
*
*
* The first timing is cold, the second timing from an immediate repeat of
* The first timing is cold, the second timing from an immediate repeat of
* the same query. With the
tim
ing loop here in C:
* the same query. With the
scor
ing loop here in C:
*
*
* query: python
* query: python
* # results: 10 of 19056 in 380.74 ms -- 40% speedup
* # results: 10 of 19056 in 380.74 ms -- 40% speedup
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment