{"push_id":2813662489,"size":11,"distinct_size":11,"ref":"refs/heads/master","head":"b1f5b0155512efd444b2cd3efe6242f44370046f","before":"266f3271f738c1e847bdb35deef114e7ef2cbe70","commits":[{"sha":"1a09fe3f192a59b5dab805049f9a944810af9459","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"[fix] encode UTF-16 without unwrapping Java String internals\n\n... this likely isn't used that much since it might have failed\nfor cases where String's char[] is shared (int offset being > 0)\nalso this would need special care in Java 10 where its a byte[]","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/1a09fe3f192a59b5dab805049f9a944810af9459"},{"sha":"335dc2ec9f15017728482432f1c54d13af72f1dd","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"[refactor] avoid a byte[] copy on encode when possible\n\n... for non-direct ByteBuffer we can extract bytes directly","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/335dc2ec9f15017728482432f1c54d13af72f1dd"},{"sha":"c253b45a6608dd72747467b664a0a71f22d2837d","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"handle String/CharSequence decoding slightly differently\n\ndoing toString() does not make a difference in micro-benchmarks\nthus could as well not char[] copy esp. since one doesn't know what kind\nof CharSequence objects might come along ...","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/c253b45a6608dd72747467b664a0a71f22d2837d"},{"sha":"c766b254c77ab8833dc4ac9082736f12574a8134","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"[refactor] only one ASCII enc + use enc.charset when not null","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/c766b254c77ab8833dc4ac9082736f12574a8134"},{"sha":"c0ec7c838f5b422f086ca42b3e7b60c2c83b44a6","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"[refactor] use separate encode String/CS paths\n\nand no longer fill in null encoding - we always pass it down\n\ninterestingly, with micro-benchmarks, this seems to run better\npassing a StringBuilder down seems to get a very noticeable speed\nimprovement, while String cases stay around the same performance","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/c0ec7c838f5b422f086ca42b3e7b60c2c83b44a6"},{"sha":"e9ac48ee91f7f54758d621b21e13382124e79c10","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"do not asString Symbols + assume reasonable thread-safety","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/e9ac48ee91f7f54758d621b21e13382124e79c10"},{"sha":"5717f94f52d53ed044a1ad152c10c3ffd8cdcb5f","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"[refactor] no need for ByteList wrapping - use bare byte[]","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/5717f94f52d53ed044a1ad152c10c3ffd8cdcb5f"},{"sha":"c63ef49f2153b1999b0f3273d43dda3814a7c61a","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"[refactor] cleanup - remove \"test\" main method","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/c63ef49f2153b1999b0f3273d43dda3814a7c61a"},{"sha":"e8f5eac09f796c26309b89655ec88e7133112ddb","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"[bench] add an artificial yet useful UTF-8 encoding benchmark\n\nBEFORE:\n```\n\nBenchmark                                                   Mode  Cnt\nScore     Error   Units\nEncodingBenchmark.benchLongRubyStringNew                   thrpt    5\n7104.064 ± 252.231  ops/ms\nEncodingBenchmark.benchLongRubyStringNewCharSequence       thrpt    5\n6882.044 ± 133.946  ops/ms\nEncodingBenchmark.benchLongRubyStringNewCharSequence2      thrpt    5\n7059.163 ± 208.203  ops/ms\nEncodingBenchmark.benchLongRubyStringNewCharSequence3      thrpt    5\n7177.851 ± 188.033  ops/ms\nEncodingBenchmark.benchShortRubyStringNew                  thrpt    5\n15108.288 ± 282.496  ops/ms\nEncodingBenchmark.benchShortRubyStringNewCharSequence      thrpt    5\n14342.470 ± 101.090  ops/ms\nEncodingBenchmark.benchVeryLongRubyStringNew               thrpt    5\n1173.092 ±   8.716  ops/ms\nEncodingBenchmark.benchVeryLongRubyStringNewCharSequence   thrpt    5\n1017.636 ±  58.843  ops/ms\nEncodingBenchmark.benchVeryLongRubyStringNewCharSequence2  thrpt    5\n1065.907 ±  26.763  ops/ms\n```\n\n AFTER:\n```\n\nBenchmark                                                   Mode  Cnt\nScore      Error   Units\nEncodingBenchmark.benchLongRubyStringNew                   thrpt    5\n7205.086 ±  474.930  ops/ms\nEncodingBenchmark.benchLongRubyStringNewCharSequence       thrpt    5\n9239.360 ±  338.284  ops/ms\nEncodingBenchmark.benchLongRubyStringNewCharSequence2      thrpt    5\n4425.827 ±  246.294  ops/ms\nEncodingBenchmark.benchLongRubyStringNewCharSequence3      thrpt    5\n7661.631 ±  418.873  ops/ms\nEncodingBenchmark.benchShortRubyStringNew                  thrpt    5\n15875.130 ±  926.360  ops/ms\nEncodingBenchmark.benchShortRubyStringNewCharSequence      thrpt    5\n16137.382 ± 1024.177  ops/ms\nEncodingBenchmark.benchVeryLongRubyStringNew               thrpt    5\n1149.699 ±   27.375  ops/ms\nEncodingBenchmark.benchVeryLongRubyStringNewCharSequence   thrpt    5\n1982.773 ±  133.350  ops/ms\nEncodingBenchmark.benchVeryLongRubyStringNewCharSequence2  thrpt    5\n634.528 ±  224.842  ops/ms\n```","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/e8f5eac09f796c26309b89655ec88e7133112ddb"},{"sha":"510516311c3709ac521e81fdb50c9ff97c829ebf","author":{"name":"kares","email":"40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@kares.org"},"message":"when CharBuffer is to be encoded do not wrap it again\n\n... makes no difference for micro-benchmarks but we at least won't copy\nchar[] buffers around - its clearly a user intent to encode the buffer","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/510516311c3709ac521e81fdb50c9ff97c829ebf"},{"sha":"b1f5b0155512efd444b2cd3efe6242f44370046f","author":{"name":"Karol Bucek","email":"c293423dc4a0380cf700b9a0fd24e9e5354e3ab2@users.noreply.github.com"},"message":"Merge pull request #5239 from kares/string-encode\n\nreview String -> RubyString UTF (8) encoding","distinct":true,"url":"https://api.github.com/repos/jruby/jruby/commits/b1f5b0155512efd444b2cd3efe6242f44370046f"}]}
{"actor":{"display_login":"kares"}}