Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38505

Re: JDK 9 strings very slow

From j4n bur53 <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: JDK 9 strings very slow
Date 2018-07-27 16:25 +0200
Organization albasani.net
Message-ID <pjfa1e$gbu$3@news.albasani.net> (permalink)
References <pjf7p5$mul$1@news.albasani.net> <pjf960$obn$1@dont-email.me> <pjf9t9$gbu$2@news.albasani.net>

Show all headers | View raw


I guess their JDK 9 UTF16 is slower than the JDK 8.
If I have time, I will check myself.

j4n bur53 schrieb:
> They only show Latin1 is faster. Maybe they don't
> understand that their UTF16 is simply slower:
> 
> StringCompressLogging.cyrillic                                   avgt 
> 25    81.210 ±   0.334   ns/op
> StringCompressLogging.latin                                      avgt 
> 25    56.337 ±   0.357   ns/op
> 
> Thats a very depressing nonsense frankly.
> 
> Eric Sosman schrieb:
>> On 7/27/2018 9:47 AM, j4n bur53 wrote:
>>> I guess they are kidding:
>>> [... Claim: compressed Strings are "very slow" ...]
>>>
>>> Are there any benchmarks for these strings?
>>
>> http://cr.openjdk.java.net/~shade/density/state-of-string-density-v1.txt
>>
> 

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-07-27 15:47 +0200
  Re: JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-07-27 15:56 +0200
    Re: JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-07-27 16:21 +0200
  Re: JDK 9 strings very slow Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-07-27 10:11 -0400
    Re: JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-07-27 16:23 +0200
      Re: JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-07-27 16:25 +0200
  Re: JDK 9 strings very slow bursejan@gmail.com - 2018-08-26 09:44 -0700
    Re: JDK 9 strings very slow Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-08-26 16:36 -0400
      Re: JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-08-26 23:33 +0200
        Re: JDK 9 strings very slow Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-08-27 10:31 -0400
          Re: JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-08-27 19:01 +0200
            Re: JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-08-27 19:17 +0200
              Re: JDK 9 strings very slow Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-08-27 13:32 -0400
                Re: JDK 9 strings very slow bursejan@gmail.com - 2018-08-27 10:49 -0700
                Re: JDK 9 strings very slow bursejan@gmail.com - 2018-08-30 18:56 -0700
                Re: JDK 9 strings very slow bursejan@gmail.com - 2018-08-31 00:29 -0700
                Re: JDK 9 strings very slow j4n bur53 <janburse@fastmail.fm> - 2018-08-31 09:56 +0200

csiph-web