Code with reflection is ~6% faster on server JRE (in 1.9.0-RC1) and ~1%
slower on client JRE.
So apparently it's not a big deal.
Server JRE:
user> *clojure-version*
{:major 1, :minor 8, :incremental 0, :qualifier nil}
user> (use 'criterium.core)
nil
user> (bench (.length (.toString (reduce (fn [s
Correction - it's not about regex parsing. I removed reflection calls for
StringBuilder and now it seems to be on par in speed.
On Fri, Nov 24, 2017 at 1:20 AM, Sergey Didenko
wrote:
> Hi,
>
> is it expected that code which does a lot of regex parsing is ~14% slower
> than it was under Clojure 1
Hi,
is it expected that code which does a lot of regex parsing is ~14% slower
than it was under Clojure 1.8?
On Tue, Nov 14, 2017 at 8:22 AM, Shantanu Kumar
wrote:
> Sorry, my bad. I can see the same behavior in previous Clojure versions
> too. I discovered this in the middle of moving to 1.9.0
Sorry, my bad. I can see the same behavior in previous Clojure versions
too. I discovered this in the middle of moving to 1.9.0-RC1 in one of
the projects and somehow got it all mixed up.
Shantanu
On Tuesday, 14 November 2017 11:36:30 UTC+5:30, Andy Fingerhut wrote:
>
> I see the same behavior
I see the same behavior in Clojure 1.7.0 and 1.8.0 as you see in 1.9.0-RC1.
Andy
On Mon, Nov 13, 2017 at 9:48 PM, Shantanu Kumar
wrote:
> Sorry, I did not specify the problem completely earlier. The coercion
> fails only when *uncheked-math* is set to truthy in 1.9.0-RC1.
>
> user=> (byte \a)
>
Sorry, I did not specify the problem completely earlier. The coercion fails
only when *uncheked-math* is set to truthy in 1.9.0-RC1.
user=> (byte \a)
97
user=> (set! *unchecked-math* true) ; or :warn-on-boxed
true
user=> (byte \a)
ClassCastException java.lang.Character cannot be cast to java.la
Works for me in 1.9.0-RC1. I don't know of anything that changed in this
area.
Clojure 1.9.0-RC1
user=> (byte \a)
97
On Mon, Nov 13, 2017 at 1:09 PM, Shantanu Kumar
wrote:
> The coercion (byte \a) works fine in Clojure 1.8, but it fails with
> `ClassCastException java.lang.Character cannot be c
The coercion (byte \a) works fine in Clojure 1.8, but it fails with
`ClassCastException java.lang.Character cannot be cast to java.lang.Number`
in 1.9.0-RC1. Is this by design?
Shantanu
On Monday, 13 November 2017 07:32:00 UTC+5:30, Alex Miller wrote:
>
> Hi David,
>
> Clojure 1.9 now depends
Hi David,
Clojure 1.9 now depends on two external dependencies (spec.alpha and
core.specs.alpha) so the instructions listed there will no longer work. We
are evaluating whether and how to update those instructions in the readme
right now.
Most Clojure users work with Clojure through a project
I'm getting an error when I follow the instructions in the readme.txt, am I
missing something?
java -cp clojure-1.9.0-RC1.jar clojure.main
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.C
Clojure 1.9 (and 1.8, and every other prior version of Clojure!) works with
Java 9 due to the care that Java takes in retaining backward compatibility.
Clojure 1.0 works just fine with Java 9.
However, there have been some changes that affect various tools, most
prominently Leiningen and Boot.
clo...@googlegroups.com on behalf of
>> Alex Miller
>> *Sent:* Tuesday, November 7, 2017 6:58:24 AM
>> *To:* Clojure
>> *Subject:* [ANN] Clojure 1.9.0-RC1
>>
>> Clojure 1.9.0-RC1 is now available.
>>
>> Try it via
>>
>> - Download: https
rgaret Atwood
>
>
> --
> *From:* clo...@googlegroups.com > on behalf of Alex Miller >
> *Sent:* Tuesday, November 7, 2017 6:58:24 AM
> *To:* Clojure
> *Subject:* [ANN] Clojure 1.9.0-RC1
>
> Clojure 1.9.0-RC1 is now available.
>
> Try it via
you're not annoying somebody, you're not really alive."
-- Margaret Atwood
From: clojure@googlegroups.com on behalf of Alex
Miller
Sent: Tuesday, November 7, 2017 6:58:24 AM
To: Clojure
Subject: [ANN] Clojure 1.9.0-RC1
Clojure 1.9.0-RC1 is now available
Thanks, that’s good to hear.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from th
One more data point.
I haven't uncovered any regressions yet on beta4 & have upgraded a few
libraries and apps; though none are in production yet I've been working
with it more or less daily since the beta4 release.
R.
On 7 November 2017 at 14:58, Alex Miller wrote:
> Clojure 1.9.0-RC1 is now
Clojure 1.9.0-RC1 is now available.
Try it via
- Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-RC1
- Leiningen: [org.clojure/clojure "1.9.0-RC1"]
1.9.0-RC1 is the same as 1.9.0-beta4.
We would appreciate anything you can do to try out this release. We do not
plan to make a
17 matches
Mail list logo