Author: dbera
Date: 2007-11-14 01:49:48 +0000 (Wed, 14 Nov 2007)
New Revision: 4197
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=4197&view=rev

Modified:
   trunk/beagle/beagled/webinterface/default.js
Log:
Massacre of elegance in favour of performance. On my sloooooow computer, I 
saved at least 1.5 seconds on a search with > 100 results. Rewrite the 
classify_hit to be in pure javascript; pure XSLT is fast, pure JS is slow but 
using XML in JS is even slower. The logic is based on mappings.xml and ideally 
the categorization functions should be generated from a rule base like 
mappings.xml.
Also, while finding the humanized names for properties, take into account 
"parent:foo" properties.
Categorize attachments as emails.


_______________________________________________
SVN-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Reply via email to