17946: trunk/xapian-core/ trunk/xapian-core/api/

olly <[email protected]>
Newsgroups gmane.comp.search.xapian.cvs
Message-ID <[email protected]>
SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       17946
Date:           2014-04-09 23:23:34 +0100 (Wed, 09 Apr 2014)

Log message (5 lines):
api/documentterm.h,api/omdocument.cc: Don't store the termname in
OmDocumentTerm - we were only using it in get_description() output
and an exception message.  Speeds up indexing etext.txt using
simpleindex by 0.4%, and should reduce memory usage a bit too.
(Change inspired by comments from Vishesh Handa on xapian-devel).

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/api/documentterm.h
U   trunk/xapian-core/api/omdocument.cc

Links:
http://xapian.org/C?17946
http://xapian.org/C?17946?trunk/xapian-core/ChangeLog
http://xapian.org/C?17946?trunk/xapian-core/api/documentterm.h
http://xapian.org/C?17946?trunk/xapian-core/api/omdocument.cc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.