Fork me on GitHub
#announcements
<
2021-04-19
>
slipset09:04:50

Please don’t use clojure.data.json 2.2.0 there is a serious data-loss bug in it. The offending commit has been reverted, but I’m waiting for a new release. I’m terribly sorry for this. Thanks to @thheller for reporting the bug.

👍 12
3
❤️ 7
1
nilern11:04:45

Introducing Eximia, the state of the art Clojure XML processor 😉 Roughly 4x faster than the usual options. Small codebase. With XML namespace support and secure defaults. https://github.com/nilern/Eximia

👍 14
2
❤️ 1
1
borkdude11:04:44

@U4MB6UKDL Looks cool. In the README you refer to clojure.xml (Clojure 1.10.3), what is this?

borkdude11:04:19

Is that the built-in namespace? That's pretty much deprecated in favor of data.xml I think

nilern11:04:59

But I doubt that that is common knowledge

borkdude11:04:53

I think not mentioning clojure.xml contributes to the process of deprecation. Many people probably don't know it even exists ;)

borkdude11:04:44

Any chance those speed-ups can end up in clojure.data.xml proper? @U04V5VAUN has been doing some nice work on clojure.data.json. Perhaps @U064X3EF3 is open to have someone contribute to clojure.data.xml in a similar fashion?

borkdude11:04:42

clojure.data.xml hasn't really seen a lot of work on it for a while, it would be nice to get someone who knows this stuff on it maybe

nilern11:04:41

I thought maybe they would at least get a stable release out if I do this

nilern11:04:38

The laziness in data.xml does have substantial performance and complexity costs but I think there is some low-hanging fruit there nevertheless

alexmiller13:04:06

Sure, happy to look at stuff like I've been doing with Erik in data.json. The important thing is to break it into manageable (smaller better) chunks, defined well with tickets, and build patches for each. I can then evaluate those on a regular basis (often on Fridays I have a little more time for things like this). I would want to communicate with Herwig on that stuff but I have not a lot of luck getting in touch with him recently.

nilern13:04:06

One specific thing I noticed is reusing XMLInput/OutputFactories. It's probably the reason Eximia is 15x faster than data.json on tiny inputs

nilern13:04:09

Oops. s/json/xml/

🙂 1
alexmiller13:04:03

org.clojure/data.json 2.2.1 is now available - addresses a serious bug in 2.2.0 (rolls back the change)

1
👍 3
1