Skip to content

Instantly share code, notes, and snippets.

@wesm
Created June 19, 2020 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesm/b7e911424ce3ca3a175b652666fe6f89 to your computer and use it in GitHub Desktop.
Save wesm/b7e911424ce3ca3a175b652666fe6f89 to your computer and use it in GitHub Desktop.
$ nm --print-size --size-sort release/libarrow.so | c++filt | grep -i brotli | tail -100
0000000000f5b4b0 0000000000000058 d vtable for arrow::util::internal::(anonymous namespace)::BrotliCodec
0000000000b317e0 0000000000000062 t BrotliDecoderSetParameter
0000000000b2ced0 000000000000006c t BrotliCalculateRingBufferSize
0000000000b34040 0000000000000073 t BrotliDecoderHuffmanTreeGroupInit
0000000000b33e50 0000000000000078 t BrotliDecoderStateMetablockBegin
0000000000ba4f82 0000000000000078 r typeinfo name for std::_Sp_counted_ptr_inplace<arrow::util::internal::(anonymous namespace)::BrotliCompressor, std::allocator<arrow::util::internal::(anonymous namespace)::BrotliCompressor>, (__gnu_cxx::_Lock_policy)2>
0000000000ba5031 000000000000007a r typeinfo name for std::_Sp_counted_ptr_inplace<arrow::util::internal::(anonymous namespace)::BrotliDecompressor, std::allocator<arrow::util::internal::(anonymous namespace)::BrotliDecompressor>, (__gnu_cxx::_Lock_policy)2>
0000000000b16d00 000000000000007d t BrotliHistogramBitCostDistanceCommand
0000000000b17f10 000000000000007d t BrotliHistogramBitCostDistanceDistance
0000000000b15ab0 000000000000007d t BrotliHistogramBitCostDistanceLiteral
0000000000ae9160 000000000000008a t BrotliEncoderTakeOutput
0000000000b32e50 0000000000000093 t BrotliDecoderDecompress
0000000000b31850 000000000000009c t BrotliDecoderCreateInstance
0000000000b33ed0 000000000000009c t BrotliDecoderStateCleanupAfterMetablock
00000000006c9460 00000000000000a1 t arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()
0000000000aeca80 00000000000000a6 t BrotliInitDistanceParams
0000000000f772a0 00000000000000b0 d kBrotliDictionary
0000000000ae7570 00000000000000b9 t BrotliEncoderSetParameter
0000000000b32f30 00000000000000c5 t BrotliDecoderTakeOutput
0000000000b2cf40 00000000000000c7 t BrotliEnsureRingBuffer
0000000000b33f70 00000000000000ce t BrotliDecoderStateCleanup
0000000000aeebe0 00000000000000e9 t BrotliOptimizeHistograms
0000000000ae7850 0000000000000102 t BrotliEncoderDestroyInstance
0000000000b05c10 0000000000000137 t BrotliCreateZopfliBackwardReferences
0000000000b17090 000000000000017d t BrotliHistogramReindexCommand
0000000000b182a0 000000000000017d t BrotliHistogramReindexDistance
0000000000b15e70 0000000000000188 t BrotliHistogramReindexLiteral
0000000000b29560 00000000000001b9 t BrotliConvertBitDepthsToSymbols
0000000000b14a20 00000000000001b9 t BrotliStoreUncompressedMetaBlock
0000000000b33c60 00000000000001e3 t BrotliDecoderStateInit
0000000000b33060 00000000000001f8 t BrotliDecoderErrorString
0000000000ae7630 000000000000021c t BrotliEncoderCreateInstance
0000000000b280b0 0000000000000221 t BrotliSetDepth
0000000000b02ec0 0000000000000227 t BrotliCreateBackwardReferences
00000000006c7bf0 0000000000000239 t arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)
0000000000b20060 0000000000000247 t BrotliCompressFragmentFast
00000000006c8960 0000000000000247 t arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)
0000000000b27e60 000000000000024b t BrotliCompressFragmentTwoPass
00000000006c7e30 000000000000024b t arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)
00000000006c8e10 0000000000000256 t arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)
00000000006c8bb0 0000000000000256 t arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)
0000000000b339d0 0000000000000261 t BrotliBuildSimpleHuffmanTable
0000000000aeecd0 000000000000027b t BrotliIsMostlyUTF8
00000000006c91a0 0000000000000295 t arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)
0000000000b16d80 0000000000000304 t BrotliHistogramRemapCommand
0000000000b17f90 0000000000000304 t BrotliHistogramRemapDistance
0000000000b10680 000000000000032c t BrotliStoreHuffmanTree
0000000000b14f20 000000000000032f t BrotliCompareAndPushToQueueCommand.part.1
0000000000b15250 000000000000032f t BrotliCompareAndPushToQueueDistance.part.2
0000000000b15b30 0000000000000332 t BrotliHistogramRemapLiteral
0000000000b14be0 000000000000033f t BrotliCompareAndPushToQueueLiteral.part.0
0000000000b33270 0000000000000354 t BrotliBuildCodeLengthsHuffmanTable
0000000000b29720 000000000000035a t BrotliBuildHistogramsWithContext
00000000006c84b0 000000000000036e t arrow::util::internal::(anonymous namespace)::BrotliCodec::MakeDecompressor()
0000000000ae8de0 0000000000000377 t BrotliEncoderCompress
0000000000b04300 00000000000003bd t BrotliZopfliCreateCommands
0000000000b335d0 00000000000003fc t BrotliBuildHuffmanTable
00000000006c8090 000000000000041f t arrow::util::internal::(anonymous namespace)::BrotliCodec::MakeCompressor()
0000000000b14540 00000000000004d6 t BrotliStoreMetaBlockFast
0000000000b16800 00000000000004f9 t BrotliHistogramCombineCommand
0000000000b17a10 00000000000004f9 t BrotliHistogramCombineDistance
0000000000b29060 00000000000004fd t BrotliWriteHuffmanTree
0000000000b155a0 0000000000000501 t BrotliHistogramCombineLiteral
0000000000b282e0 000000000000053a t BrotliCreateHuffmanTree
0000000000b29a80 00000000000006fd t BrotliEstimateBitCostsForLiterals
0000000000b17210 00000000000007d1 t BrotliClusterHistogramsCommand
0000000000b18420 00000000000007d1 t BrotliClusterHistogramsDistance
0000000000b16000 00000000000007d1 t BrotliClusterHistogramsLiteral
0000000000b13d10 0000000000000825 t BrotliStoreMetaBlockTrivial
0000000000b28820 000000000000083e t BrotliOptimizeHuffmanCountsForRle
0000000000b11a10 0000000000000ac3 t BrotliBuildAndStoreHuffmanTreeFast
0000000000b21840 0000000000000b2a t BrotliCompressFragmentTwoPassImpl10.isra.2
0000000000b239d0 0000000000000b2a t BrotliCompressFragmentTwoPassImpl11.isra.3
0000000000b22ea0 0000000000000b2a t BrotliCompressFragmentTwoPassImpl12.isra.4
0000000000b25030 0000000000000b2a t BrotliCompressFragmentTwoPassImpl13.isra.5
0000000000b24500 0000000000000b2a t BrotliCompressFragmentTwoPassImpl14.isra.6
0000000000b26690 0000000000000b2a t BrotliCompressFragmentTwoPassImpl15.isra.7
0000000000b25b60 0000000000000b2a t BrotliCompressFragmentTwoPassImpl8.isra.0
0000000000b22370 0000000000000b2a t BrotliCompressFragmentTwoPassImpl9.isra.1
0000000000b34170 0000000000000ba2 t BrotliTransformDictionaryWord
0000000000b20ba0 0000000000000ca0 t BrotliCompressFragmentTwoPassImpl16.isra.8
0000000000b271c0 0000000000000ca0 t BrotliCompressFragmentTwoPassImpl17.isra.9
0000000000b08c90 0000000000000d75 t BrotliPopulationCostCommand
0000000000b09a10 0000000000000d75 t BrotliPopulationCostDistance
0000000000b07f10 0000000000000d75 t BrotliPopulationCostLiteral
0000000000aedbb0 0000000000001029 t BrotliBuildMetaBlockGreedy
0000000000aecb30 000000000000107b t BrotliBuildMetaBlock
0000000000ae7990 000000000000140b t BrotliEncoderCompressStream
0000000000b31930 0000000000001512 t BrotliDecoderDecompressStream
0000000000b046c0 0000000000001549 t BrotliZopfliComputeShortestPath
0000000000b124e0 0000000000001824 t BrotliStoreMetaBlock
0000000000b1c960 0000000000001b71 t BrotliCompressFragmentFastImpl11
0000000000b1e4e0 0000000000001b71 t BrotliCompressFragmentFastImpl13
0000000000b1ade0 0000000000001b71 t BrotliCompressFragmentFastImpl15
0000000000b19260 0000000000001b71 t BrotliCompressFragmentFastImpl9
0000000000ae2e20 0000000000001d85 t BrotliCompressBufferQuality10
0000000000b05d50 00000000000021b5 t BrotliCreateHqZopfliBackwardReferences
0000000000b2a180 0000000000002455 t BrotliFindAllStaticDictionaryMatches
0000000000b0d3e0 00000000000029e7 t BrotliSplitBlock
0000000000c08980 000000000001dfa0 r kBrotliDictionaryData
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment