Examples of JustCopy


Examples of me.lemire.integercompression.JustCopy

         *                Count of data chunks.
         * @param length
         *                Length of a data chunk.
         */
        public static void run(final PrintWriter csvWriter, final int count, final int length) {
                IntegerCODEC[] codecs = { new JustCopy(), new BinaryPacking(),
                        new DeltaZigzagBinaryPacking(),
                        new DeltaZigzagVariableByte(),
                        new IntegratedBinaryPacking(), new XorBinaryPacking(),
                        new FastPFOR128(), new FastPFOR()};

                csvWriter
                        .format("\"Dataset\",\"CODEC\",\"Bits per int\","
                                + "\"Compress speed (MiS)\",\"Decompress speed (MiS)\"\n");

                benchmark(csvWriter, codecs, count, length, DEFAULT_MEAN,
                        DEFAULT_RANGE);
                benchmark(csvWriter, codecs, count, length, DEFAULT_MEAN >> 5,
                        DEFAULT_RANGE);

                IntegerCODEC[] codecs2 = { new JustCopy(), new BinaryPacking(),
                        new DeltaZigzagBinaryPacking(),
                        new DeltaZigzagVariableByte(),
                        new IntegratedBinaryPacking(), new XorBinaryPacking(),
                        new FastPFOR128(),new FastPFOR(), };

View Full Code Here

Examples of me.lemire.integercompression.JustCopy

                                new IntegratedBinaryPacking(),
                                new IntegratedVariableByte()), data, repeat,
                                true);
                        System.out.println();

                        testCodec(csvLog, sparsity, new JustCopy(), data,
                                repeat, false);
                        testCodec(csvLog, sparsity, new JustCopy(), data,
                                repeat, false);
                        testCodec(csvLog, sparsity, new JustCopy(), data,
                                repeat, true);
                        System.out.println();

                        testByteCodec(csvLog, sparsity, new VariableByte(),
                                data, repeat, false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.