Skip to content

Commit

Permalink
configure nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveRuble committed Sep 26, 2021
1 parent aad7a7b commit 414523b
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 8 deletions.
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Bloomn Bloom Filter for .NET
# Bloomn Bloom Filter for .NET

Bloomn provides a modern, high performance bloom filter implementation.

Expand All @@ -12,4 +12,9 @@ Bloomn provides a modern, high performance bloom filter implementation.

## Examples

See [tests/Bloomn.Tests/Examples](tests/Bloomn.Tests/Examples)

### Using Service Provider
```c#

```
41 changes: 35 additions & 6 deletions src/Bloomn/Bloomn.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,42 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<PackageId>Bloomn</PackageId>
<Version>0.0.1-alpha</Version>
<Authors>Steve Ruble</Authors>
<Company>Steve Ruble</Company>
<PackageTags>bloom bloomfilter</PackageTags>
<Title>Bloomn Bloom Filter</Title>
<Copyright>Copyright (c) Steve Ruble 2021</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>

<Description>
This library provides a high-performance bloom filter implementation
for probabilistic set membership detection. Supports importing, exporting,
and serializing the state of a filter. Currently takes ~1 microsecond per
check+add operation, with minimal alloctions (the goal is to have zero
allocations eventually).

This is an alpha release that has not yet been production tested.
</Description>
<PackageIcon>icon.png</PackageIcon>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryUrl>https://github.com/SteveRuble/Bloomn</RepositoryUrl>
<PackageProjectUrl>https://github.com/SteveRuble/Bloomn</PackageProjectUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="5.0.0" />
<None Include="../../assets/icon.png" Pack="true" PackagePath="\"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="5.0.0"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="5.0.0"/>
<PackageReference Include="Microsoft.Extensions.Options" Version="5.0.0"/>
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="5.0.0"/>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion tests/Bloomn.Benchmarks/SingleItemBenchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Bloomn.Benchmarks
[MemoryDiagnoser]
public class SingleItemBenchmarks
{
public const int OperationsPerInvoke = 100;
public const int OperationsPerInvoke = 1000;

public int KeyIndex { get; set; }
public readonly IBloomFilter<int> Fixed;
Expand Down

0 comments on commit 414523b

Please sign in to comment.