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


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

Re: JDK 9 strings very slow

Path csiph.com!news.mixmin.net!news.albasani.net!.POSTED!not-for-mail
From j4n bur53 <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: JDK 9 strings very slow
Date Fri, 27 Jul 2018 16:25:50 +0200
Organization albasani.net
Lines 25
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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.albasani.net wP8GJm9MfQ1qAslrNXShiTBPRZDOkE98l6SYuAD2UP6vuV/RJb0yTofRWnmTXAMzokNkEny/18H1K9FjHkMnZQ==
NNTP-Posting-Date Fri, 27 Jul 2018 14:25:50 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="ZqrKLxuzBP3NvP5RPAiqmJth2MCay1ivJVZO9LkC5OfvWtQGjf9dQuTvQLsFGznbgoJIX5TSU7K7+WN9DWRL1yKgkNV3yAPBM14Zsjrc50dXF8YgDaN8QqxraoGKc3Nn"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3
In-Reply-To <pjf9t9$gbu$2@news.albasani.net>
Cancel-Lock sha1:hfSFkzSc03HmpDqHx6wsMU3niAE=
Xref csiph.com comp.lang.java.programmer:38505

Show key headers only | 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