You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if there was an overload for in: src/main/java/orestes/bloomfilter/BloomFilter.java : public boolean addRaw(byte[] element) where one could specify the start and len within the 'byte[] element', so that if a large buffer has already been allocated in memory, one can specify which portions within it are to be added to the filter. Currently a new byte[] of the correct length must be allocated and copied into each time, which forces unnecessary allocation + copy operations.
It would be great if there was an overload for in: src/main/java/orestes/bloomfilter/BloomFilter.java : public boolean addRaw(byte[] element) where one could specify the start and len within the 'byte[] element', so that if a large buffer has already been allocated in memory, one can specify which portions within it are to be added to the filter. Currently a new byte[] of the correct length must be allocated and copied into each time, which forces unnecessary allocation + copy operations.
Orestes-Bloomfilter/src/main/java/orestes/bloomfilter/BloomFilter.java
Line 21 in 933dded
The text was updated successfully, but these errors were encountered: