Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6939339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:36:37+00:00 2026-05-27T12:36:37+00:00

I am developing a firefox extension which is to serve as a user profiling

  • 0

I am developing a firefox extension which is to serve as a user profiling and web personalization engine. It needs to store TF-IDF related data of web pages. My question is, which would produce faster simple search results?

a. Using a custom data structure and storing the entire data structure in a file, loading it to memory and querying it?

OR

b. Storing and querying and the data off an SQLite database?

It is safe to assume a worst case scenario of around 250,000 rows in one of the tables.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:36:37+00:00Added an answer on May 27, 2026 at 12:36 pm

    Your question basically boils down to:

    a. Should I write my own custom implementation of a data storage system?

    or

    b. Should I use an off-the-shelf, proven data storage system?

    I would say if you go with the first approach, that:

    • You’ll obviously end up spending time writing this code. You need to weigh this vs the time you spend learning/writing code on top of an existing library
    • You’ll inevitably start adding features over time. You’ll have to continuously re-evaluate the cost of adding more code vs throwing away the work you’ve put in and using an existing library
    • You may possibly run into serious performance or other issues. Are you willing to take this risk when something like SQLite has already had a lot of production use to find these issues?
    • How much time are you going to spend dealing with bugs caused by your data storage, that could be avoided using an off the shelf library?

    Another way of looking at this is: why would you NOT use SQLite? Is there some kind of problem with it for your scenario? I can’t think of any.

    I would certainly be inclined to start with SQLite (or something similar). If it proves to not work in some way, only after exhausting any other off the shelf alternatives would I consider writing my own data storage library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been developing a firefox extension, which needs to send an email through the
I'm currently developing a firefox extension which checks some server side XML-File on a
I am developing a firefox extension, i need to detect which operating system firefox
I'm am developing a Firefox extension which interfaces with an underlying Windows service (which
I'm developing a firefox extension based on this tutorial which is a FF 2.0
I'm developing a firefox extension. So, when the user selects a text and then
I'm developing a Firefox extension which places a button in the status bar. When
I'm developing a Firefox extension. There is a menu X which I need to
I am developing a Firefox extension which need to change some values on a
I am developing an extension to firefox that indicates to the user what is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.