Title: [175810] trunk/Source/WTF
Revision
175810
Author
[email protected]
Date
2014-11-10 09:05:28 -0800 (Mon, 10 Nov 2014)

Log Message

Remove BloomFilter size limit
https://bugs.webkit.org/show_bug.cgi?id=138549

Reviewed by Andreas Kling.

* wtf/BloomFilter.h: Remove the static_assert, the code works fine with somewhat larger sizes.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (175809 => 175810)


--- trunk/Source/WTF/ChangeLog	2014-11-10 16:20:43 UTC (rev 175809)
+++ trunk/Source/WTF/ChangeLog	2014-11-10 17:05:28 UTC (rev 175810)
@@ -1,3 +1,12 @@
+2014-11-09  Antti Koivisto  <[email protected]>
+
+        Remove BloomFilter size limit
+        https://bugs.webkit.org/show_bug.cgi?id=138549
+
+        Reviewed by Andreas Kling.
+
+        * wtf/BloomFilter.h: Remove the static_assert, the code works fine with somewhat larger sizes.
+
 2014-11-09  Chris Dumez  <[email protected]>
 
         Add a more correct way to compare floating point numbers and use it

Modified: trunk/Source/WTF/wtf/BloomFilter.h (175809 => 175810)


--- trunk/Source/WTF/wtf/BloomFilter.h	2014-11-10 16:20:43 UTC (rev 175809)
+++ trunk/Source/WTF/wtf/BloomFilter.h	2014-11-10 17:05:28 UTC (rev 175810)
@@ -37,8 +37,6 @@
 class BloomFilter {
     WTF_MAKE_FAST_ALLOCATED;
 public:
-    static_assert(keyBits <= 16, "BloomFilter key size must be less than or equal to 16!");
-
     static const size_t tableSize = 1 << keyBits;
     static const unsigned keyMask = (1 << keyBits) - 1;
     static uint8_t maximumCount() { return std::numeric_limits<uint8_t>::max(); }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to