+
Skip to content

Conversation

Vagabond
Copy link
Contributor

  • Serialize bloom bitmap to an Erlang binary, not a list
  • Add new_for_fp_rate/2 and check_and_set/2
  • Make return types more idiomatic
  • Make clear/1 clear the current bloom, don't copy it
  • Add documentation and type specs
  • Remove redundant information from the resource struct
  • Add deserialization helper for deserializing the tuple return

These changes are backwards incompatible so, if merged, this would probably require a bump to version 2.0 if semantic versioning is being used.

* Serialize bloom bitmap to an Erlang binary, not a list
* Add new_for_fp_rate/2 and check_and_set/2
* Make return types more idiomatic
* Make clear/1 clear the current bloom, don't copy it
* Add documentation and type specs
* Remove redundant information from the resource struct
* Add deserialization helper for deserializing the tuple returned from
  serialize
@Elzor Elzor merged commit 32a3df9 into Vonmo:master Feb 14, 2020
@Vagabond
Copy link
Contributor Author

I have some more stuff coming (stemming from trying to use the bloom for what I need it to) which includes being able to check/set any Erlang term and being able to quickly check a serialized bloom for key membership without having to deserialize it fully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载