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

  • SEARCH
  • Home
  • 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 8582463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:17:54+00:00 2026-06-11T21:17:54+00:00

I need a point of departure to research options for highly efficient search algorithms,

  • 0

I need a “point of departure” to research options for highly efficient search algorithms, methods and techniques for finding random strings within a massive amount of random data. I’m just learning about this stuff, so anyone have experience with this? Here’s some conditions I want to optimize for:

  1. The first idea is to minimize file size in terms of search indexes and the like – so the smallest possible index, or even better – search on the fly.
  2. The data to be searched is high amounts of entirely random data – say, random binary 0s and 1s with no perceptable pattern. Gigabytes of the stuff.
  3. Presented with an equally random search string, say 0111010100000101010101 what is the most efficient way to locate that same string within a mountain of random data? What are the tradeoffs in performance, etc?
  4. All instances of that search string need to be located, so that seems like an important condition that limits the types of solutions to be implemented.

Any hints, clues, techniques, wiki articles etc. would be greatly appreciated! I’m just studying this now, and it seems interesting. Thanks.

  • 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-06-11T21:17:55+00:00Added an answer on June 11, 2026 at 9:17 pm

    A simple way to do this is to build an index on all possible N-byte substrings of the searchable data (with N = 4 or 8 or something like that). The index would map from the small chunk to all locations where that chunk occurs.

    When you want to lookup a value, take the first N bytes and use them to find all possible locations. You need to verify all locations of course.

    A high value for N means more index space usage and faster lookups because less false positives will be found.

    Such an index is likely to be a small multiple of the base data in size.


    A second way would be to split the searchable data into contiguous, non-overlapping chunks of N bytes (N = 64 or so). Hash each chunk down to a smaller size M (M = 4 or 8 or so).

    This saves a lot of index space because you don’t need all the overlapping chunks.

    When you lookup a value you can locate the candidate matches by looking up all contiguous, overlapping substrings of the string to be found. This assumes that the string to be found is at least N * 2 bytes in size.

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

Sidebar

Related Questions

I'm developing a library to IOS, which at some point need to create a
At some point I need to display a disabled (greyed out by disabled=disabled attribute)
I need to make a point in time branch, when we release a new
I need to round floating point numbers up to the nearest integer, even if
I need to send floating point numbers using a UDP connection to a Qt
I need to develop a point of sale app that will be used on
I need to develop a generic entry point for tibco business works based on
I need to determine the quadrant of point, in a faster way. I am
I need a fastest way to find any point inside triangle(not edges) in 2D.
I need to get the distance from a lat/lng point to a line. Of

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.