nicksieger / jrexml

JREXML is an add-on for JRuby that uses a Java pull parser library to speed up REXML.

This URL has Read+Write access

jrexml / README.txt
100644 30 lines (17 sloc) 1.314 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
JREXML is an add-on for JRuby that uses a Java pull parser library to speed up REXML.
 
REXML is, unfortunately, painfully slow running under JRuby at the moment due to the slowness of regular expression parsing. JREXML shoves a small wrapper around XPP3/MXP1 (http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/) into the guts of REXML, disabling the regular expression parser and providing close to a 10x speedup.
 
== Install
 
Simply install the gem under JRuby:
 
    jruby -S gem install jrexml
 
And require 'jrexml' to speed up REXML.
 
    gem 'jrexml'
    require 'jrexml'
 
== Source
 
You can get the JREXML source using Git, in any of the following ways:
 
    git clone git://git.caldersphere.net/jrexml.git
    git clone http://git.caldersphere.net/jrexml.git
    git clone git://github.com/nicksieger/jrexml.git
 
You can also download a tarball of the latest JREXML source at http://github.com/nicksieger/jrexml/tree/master.
 
== License
 
This software is released under an MIT license. For details, see the LICENSE.txt file included with the distribution. The software is copyright (c) 2007 Nick Sieger <nicksieger@gmail.com>.
 
This product includes software developed by the Indiana University Extreme! Lab (http://www.extreme.indiana.edu/). See the license in the file lib/xpp3.LICENSE.txt for details.