moxml 0.5.115 → 0.5.116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +18 -19
  3. data/lib/moxml/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3269b76bcc581101e3b7f6219c58fc5010752ab1af4f4bb35b8e505989f08e04
4
- data.tar.gz: 1c255835027897f446de2bb88b175a5b71432636b2a7ab3810480323865a4dac
3
+ metadata.gz: f05dc2b6886b453a5147c56e2936f0f0a15206c26037cf737792a1b906e8788e
4
+ data.tar.gz: 7bd3b318538208c43f2f71016ce207847ea3104681fef2d74aee754ec441204d
5
5
  SHA512:
6
- metadata.gz: 12d97fd4ae488aee81c5e04e5b55be1336bea7bad60f14fc2481ee9fdd80689edac7dfc3113a6dc65be605a555d388d10e89566a206993c84438d0fcbd9e8d41
7
- data.tar.gz: 1bf50772dde870a02dd80c1d4d686d2d47149b1d4b9210113bed8e2732dec6c48291105ee26969c92c1d46d6f7086931516c0f6110ce868d662cb2bfa1ea2871
6
+ metadata.gz: 97324a4fe0132afed58055d5ed6a54933b4adb195933984ff1188c6f4276065cadbf3abd66f08beb2ba59a8eeb73c5ada02fd7e0a5f24e09f8fc7372852f4232
7
+ data.tar.gz: 69745ed2e541b46dad94148ddc0c8ac1240d4032f78250be494dfb01d98b83b6835fb5a28d9289967754ba4d40a8c942d5302f4066b8160526435ded02932738
data/README.adoc CHANGED
@@ -239,7 +239,7 @@ libleptris has no first-class nodes for them.
239
239
  | Feature/Operation | Nokogiri | Oga | REXML | LibXML | Ox | HeadedOx | Leptris
240
240
 
241
241
  | *Core Operations*
242
-
242
+ |
243
243
  |
244
244
  |
245
245
  |
@@ -275,9 +275,8 @@ libleptris has no first-class nodes for them.
275
275
  | ✅ Full
276
276
 
277
277
  | *Element Operations*
278
-
279
278
  |
280
-
279
+ |
281
280
  |
282
281
  |
283
282
  |
@@ -321,9 +320,8 @@ libleptris has no first-class nodes for them.
321
320
  | ✅ Full
322
321
 
323
322
  | *Namespace Operations*
324
-
325
323
  |
326
-
324
+ |
327
325
  |
328
326
  |
329
327
  |
@@ -367,9 +365,8 @@ libleptris has no first-class nodes for them.
367
365
  | ✅ Full
368
366
 
369
367
  | *XPath Queries*
370
-
371
368
  |
372
-
369
+ |
373
370
  |
374
371
  |
375
372
  |
@@ -467,9 +464,8 @@ libleptris has no first-class nodes for them.
467
464
  | ✅ All 27
468
465
 
469
466
  | *Special Content*
470
-
471
467
  |
472
-
468
+ |
473
469
  |
474
470
  |
475
471
  |
@@ -513,9 +509,8 @@ libleptris has no first-class nodes for them.
513
509
  | ⚠️ Value-object sidecar^8^
514
510
 
515
511
  | *Performance*
516
-
517
512
  |
518
-
513
+ |
519
514
  |
520
515
  |
521
516
  |
@@ -658,7 +653,7 @@ puts doc.to_xml(indent: 2)
658
653
  === Performance versus nokogiri
659
654
 
660
655
  CPU-time medians (1,000-record catalog, 20 iterations) through the
661
- moxml adapter layer on both sides — moxml + leptris 1.9.307 vs
656
+ moxml adapter layer on both sides — moxml + leptris 1.9.314 vs
662
657
  moxml + nokogiri:
663
658
 
664
659
  [cols="2,1,4"]
@@ -666,31 +661,35 @@ moxml + nokogiri:
666
661
  |Operation |leptris vs nokogiri |Notes
667
662
 
668
663
  |parse
669
- |3.27x
664
+ |3.0x
670
665
  |Engine pool-carved parse
671
666
 
672
667
  |serialize
673
- |3.38x
668
+ |2.9x
674
669
  |
675
670
 
676
671
  |XPath
677
- |50x
672
+ |40x
678
673
  |Native compiled-eval seams
679
674
 
680
675
  |walk + read (`.text`, `[]`)
681
- |1.90x
676
+ |2.0x
682
677
  |C klass-mint wrappers + wrapper read memos
683
678
 
684
679
  |warm re-read
685
- |2.10x
680
+ |2.1x
686
681
  |The memo family — zero string allocation per node
687
682
 
688
683
  |build (`add_element`)
689
- |4.24x
684
+ |3.7x
690
685
  |C-mint construction + bulk attributes
691
686
 
687
+ |build (Builder DSL)
688
+ |2.1x
689
+ |Markup-accumulating face — one crossing per subtree
690
+
692
691
  |attribute pairs
693
- |1.73x
692
+ |parity
694
693
  |One C crossing, no Attribute objects
695
694
  |===
696
695
 
data/lib/moxml/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Moxml
4
- VERSION = "0.5.115"
4
+ VERSION = "0.5.116"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.115
4
+ version: 0.5.116
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.