Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

Bugzilla #1168412 Duplicate Telemetry Submission Report #75

Merged
merged 1 commit into from Jun 8, 2015

Conversation

trink
Copy link
Contributor

@trink trink commented May 29, 2015

No description provided.


local items = read_config("items") or 1000000
local probability = read_config("probability") or 0.01
bf = bloom_filter.new(items, probability)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What will happen if you try to create a bloom filter that requires more memory than is available?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as any other application, it will swap like crazy and end badly.

mreid-moz added a commit that referenced this pull request Jun 8, 2015
Bugzilla #1168412 Duplicate Telemetry Submission Report
@mreid-moz mreid-moz merged commit 1b84d08 into master Jun 8, 2015
@trink trink deleted the duplicate_report branch July 2, 2015 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants