doc fixes.
This commit is contained in:
parent
f7845454da
commit
1ce76d20dd
14
README.rst
14
README.rst
@ -30,7 +30,7 @@ same results as the original ``jsmin.c``. It differs in the following ways:
|
||||
- there is no error detection: unterminated string, regex and comment
|
||||
literals are treated as regular javascript code and minified as such.
|
||||
- Control characters inside string and regex literals are left untouched; they
|
||||
are not converted to spaces (nor to \n)
|
||||
are not converted to spaces (nor to \\n)
|
||||
- Newline characters are not allowed inside string and regex literals, except
|
||||
for line continuations in string literals (ECMA-5).
|
||||
- "return /regex/" is recognized correctly.
|
||||
@ -40,13 +40,13 @@ same results as the original ``jsmin.c``. It differs in the following ways:
|
||||
- rJSmin does not handle streams, but only complete strings. (However, the
|
||||
module provides a "streamy" interface).
|
||||
|
||||
Since most parts of the logic are handled by the regex engine it's way
|
||||
faster than the original python port of ``jsmin.c`` by Baruch Even. The speed
|
||||
factor varies between about 6 and 55 depending on input and python version
|
||||
(it gets faster the more compressed the input already is). Compared to the
|
||||
Since most parts of the logic are handled by the regex engine it's way faster
|
||||
than the original python port of ``jsmin.c`` by Baruch Even. The speed factor
|
||||
varies between about 6 and 55 depending on input and python version (it gets
|
||||
faster the more compressed the input already is). Compared to the
|
||||
speed-refactored python port by Dave St.Germain the performance gain is less
|
||||
dramatic but still between 1.2 and 7. See the docs/BENCHMARKS file for
|
||||
details.
|
||||
dramatic but still between 3 and 50 (for huge inputs). See the docs/BENCHMARKS
|
||||
file for details.
|
||||
|
||||
rjsmin.c is a reimplementation of rjsmin.py in C and speeds it up even more.
|
||||
|
||||
|
@ -23,13 +23,13 @@ same results as the original ``jsmin.c``. It differs in the following ways:
|
||||
- rJSmin does not handle streams, but only complete strings. (However, the
|
||||
module provides a "streamy" interface).
|
||||
|
||||
Since most parts of the logic are handled by the regex engine it's way
|
||||
faster than the original python port of ``jsmin.c`` by Baruch Even. The speed
|
||||
factor varies between about 6 and 55 depending on input and python version
|
||||
(it gets faster the more compressed the input already is). Compared to the
|
||||
Since most parts of the logic are handled by the regex engine it's way faster
|
||||
than the original python port of ``jsmin.c`` by Baruch Even. The speed factor
|
||||
varies between about 6 and 55 depending on input and python version (it gets
|
||||
faster the more compressed the input already is). Compared to the
|
||||
speed-refactored python port by Dave St.Germain the performance gain is less
|
||||
dramatic but still between 1.2 and 7. See the docs/BENCHMARKS file for
|
||||
details.
|
||||
dramatic but still between 3 and 50 (for huge inputs)). See the
|
||||
docs/BENCHMARKS file for details.
|
||||
|
||||
rjsmin.c is a reimplementation of rjsmin.py in C and speeds it up even more.
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
.. license:
|
||||
.. copyright:
|
||||
Copyright 2011 - 2014
|
||||
André Malo or his licensors, as applicable
|
||||
|
||||
.. license:
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
@ -47,7 +48,7 @@ faster than the original python port of ``jsmin.c`` by Baruch Even. The speed
|
||||
factor varies between about 6 and 55 depending on input and python version
|
||||
(it gets faster the more compressed the input already is). Compared to the
|
||||
speed-refactored python port by Dave St.Germain the performance gain is less
|
||||
dramatic but still between 1.2 and 7.
|
||||
dramatic but still between 3 and 50 (for huge inputs).
|
||||
|
||||
|rjsmin| comes with an optional C-reimplementation of the python/regex
|
||||
implementation, which speeds up the minifying process even more.
|
||||
|
@ -18,7 +18,7 @@
|
||||
[package]
|
||||
name = rjsmin
|
||||
|
||||
python.min = 2.3
|
||||
python.min = 2.4
|
||||
python.max = 3.4
|
||||
pypy.min = 1.9
|
||||
pypy.max = 2.0
|
||||
|
12
rjsmin.py
12
rjsmin.py
@ -45,13 +45,13 @@ same results as the original ``jsmin.c``. It differs in the following ways:
|
||||
- rJSmin does not handle streams, but only complete strings. (However, the
|
||||
module provides a "streamy" interface).
|
||||
|
||||
Since most parts of the logic are handled by the regex engine it's way
|
||||
faster than the original python port of ``jsmin.c`` by Baruch Even. The speed
|
||||
factor varies between about 6 and 55 depending on input and python version
|
||||
(it gets faster the more compressed the input already is). Compared to the
|
||||
Since most parts of the logic are handled by the regex engine it's way faster
|
||||
than the original python port of ``jsmin.c`` by Baruch Even. The speed factor
|
||||
varies between about 6 and 55 depending on input and python version (it gets
|
||||
faster the more compressed the input already is). Compared to the
|
||||
speed-refactored python port by Dave St.Germain the performance gain is less
|
||||
dramatic but still between 1.2 and 7. See the docs/BENCHMARKS file for
|
||||
details.
|
||||
dramatic but still between 3 and 50 (for huge inputs). See the docs/BENCHMARKS
|
||||
file for details.
|
||||
|
||||
rjsmin.c is a reimplementation of rjsmin.py in C and speeds it up even more.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user