com.googlecode.javaewah.benchmark
Class Benchmark
java.lang.Object
com.googlecode.javaewah.benchmark.Benchmark
public class Benchmark
- extends Object
This class is used to benchmark the performance EWAH.
- Author:
- Daniel Lemire
Method Summary |
static void |
main(String[] args)
|
static void |
test(int N,
int nbr,
int repeat)
|
static int[] |
unite2by2(int[] set1,
int[] set2)
Compute the union between two sorted arrays |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Benchmark
public Benchmark()
unite2by2
public static int[] unite2by2(int[] set1,
int[] set2)
- Compute the union between two sorted arrays
- Parameters:
set1
- first sorted arrayset2
- second sorted array
- Returns:
- merged array
main
public static void main(String[] args)
test
public static void test(int N,
int nbr,
int repeat)
Copyright © 2013. All Rights Reserved.