From 3449af0461782c24c8577fe4a5938f35f417cbb1 Mon Sep 17 00:00:00 2001 From: Niklas Baumstark Date: Fri, 27 Jan 2012 19:21:54 +0100 Subject: move completion logic to background page This has the following advantages: * searching is done in the background, UI responsiveness is improved * caches are no longer duplicated. This saves RAM and improves performance --- background_page.html | 94 ++++++++---------------- fuzzyMode.js | 75 +++++++------------ lib/completion.js | 204 +++++++++++++++++++++++++++++++++------------------ 3 files changed, 189 insertions(+), 184 deletions(-) diff --git a/background_page.html b/background_page.html index a56028bc..f760ea70 100644 --- a/background_page.html +++ b/background_page.html @@ -4,6 +4,7 @@ +