44 Commits

Author SHA1 Message Date
ConnorSkees
6820416c8d resolve merge conflicts 2020-05-25 16:15:42 -04:00
ConnorSkees
d6ac99f1d7 make criterion an optional rather than dev dep
criterion was making it take too long to compile tests, and there is no
way to turn it off
2020-05-25 14:10:48 -04:00
ConnorSkees
b704cc42b6 make some benches smaller 2020-05-25 13:58:16 -04:00
ConnorSkees
bb53aaab8a replace std::borrow::Cow with beef::Cow 2020-05-25 13:09:20 -04:00
ConnorSkees
969726eb30 Revert string interning
There existed issues related to multithreaded tests that are difficult
to resolve. In the future interning may be reimplemented but in a more
limited capacity.

The motivation behind interning *values* was that it appeared checking
for named colors was responsible for much of the time lost when parsing
unquoted strings. If interning were to be reimplemented, it may make
sense to limit it solely to identifiers and style properties.
2020-05-22 14:20:31 -04:00
ConnorSkees
9a6c8ce019 add string interning
this seems to improve performance by ~20% as well as significantly
decrease memory usage
2020-05-21 22:46:40 -04:00
ConnorSkees
fe37bab6f2 add color benchmarks 2020-05-20 22:51:56 -04:00
ConnorSkees
d61f8abd41 add benches 2020-05-20 00:20:59 -04:00
ConnorSkees
cf987abb53 remove bimap in favor of ad hoc structure 2020-05-19 19:13:49 -04:00
ConnorSkees
e524867a30 bump version to 0.8.2
This release contains significant (>10x) improvements for WASM speed.
Performance is now comparable to libsass bindings with `node-sass` as
well as `dart-sass` with dart2js. It is, however, roughly 4x slower than
native `grass`.
2020-05-11 12:59:31 -04:00
ConnorSkees
5ba28e27f3 bump version to 0.8.1 2020-05-05 19:12:49 -04:00
ConnorSkees
004ca3a7ed bump version to 0.8.0 2020-05-05 19:02:03 -04:00
ConnorSkees
2cc655aa61 add flags for profile.release 2020-05-02 12:12:19 -04:00
ConnorSkees
05b78a3ddd add profiling feature 2020-05-01 15:43:43 -04:00
ConnorSkees
af7e236ca3 refactor named colors into bidirectional map 2020-04-26 22:23:55 -04:00
ConnorSkees
b8ca587353 experimental support for wasm 2020-04-24 18:08:20 -04:00
ConnorSkees
21dcbf0be9 bump version to 0.7.0 2020-04-21 05:25:24 -04:00
ConnorSkees
aaf37bf4c4 add peekmore as dependency 2020-04-20 04:05:57 -04:00
ConnorSkees
5d2d236a82 bump codemap 2020-04-17 13:17:39 -04:00
ConnorSkees
f0895db939 bump version to 0.6.0 2020-04-12 22:18:02 -04:00
ConnorSkees
1d2f645f35 add codemap add dependency 2020-04-12 14:21:47 -04:00
ConnorSkees
d67fe948d6 implement builtin function unique-id 2020-04-05 18:20:58 -04:00
ConnorSkees
03ac46d268 add rand as optional but default dep 2020-04-05 13:42:18 -04:00
ConnorSkees
073a1e04bb bump version to 0.5.0 2020-04-01 17:54:17 -04:00
ConnorSkees
f962595624 bump version to 0.4.0 2020-03-20 21:08:00 -04:00
ConnorSkees
b3b5163113 Implement unit conversions in numeric addition 2020-03-18 10:08:40 -04:00
ConnorSkees
6dbf8512e5 Bump version 2020-03-16 16:45:13 -04:00
ConnorSkees
0665e67158 bump bugfix version 2020-03-10 21:30:36 -04:00
ConnorSkees
8458106833 Replace lazy_static! with once_cell::sync::Lazy
As per
276134eb93 (r37745873),
this allows us to avoid a macro call and get better autocompletion
within the declaration.
2020-03-10 21:19:23 -04:00
ConnorSkees
94a6109a05 exclude Cargo.lock from crates.io 2020-03-01 17:16:58 -05:00
ConnorSkees
162377a06b Bump version to 0.3.0 2020-03-01 17:13:08 -05:00
ConnorSkees
4c32d97971 remove comment 2020-02-24 15:10:15 -05:00
ConnorSkees
98b14e010e Bump version to 0.2.0 2020-02-15 10:12:32 -05:00
ConnorSkees
03c278ed19 exclude tests from crates.io 2020-02-15 10:11:26 -05:00
ConnorSkees
c75e5cc553 Properly parse floating point numbers and rgba() 2020-02-08 20:07:20 -05:00
ConnorSkees
b2f7b57e6b Add num-rational and num-bigint as dependencies 2020-02-08 09:39:19 -05:00
ConnorSkees
abaa7724c0 Add lazy_static as dependency 2020-01-25 18:40:46 -05:00
ConnorSkees
edb851c536 Make edition implicit 2020-01-20 16:01:58 -05:00
ConnorSkees
ba955c464a exclude the spec 2020-01-20 13:44:12 -05:00
ConnorSkees
75f38ba416 Move #[track_caller] behind feature gate 2020-01-20 13:39:25 -05:00
ConnorSkees
058772edb4 Refactor into library and add argument parsing 2020-01-20 11:00:01 -05:00
ConnorSkees
d2ae3a4a0b Add cargo metadata 2020-01-18 18:59:43 -05:00
ConnorSkees
fb33159996 Add tempfile as dev dependency 2020-01-18 14:56:18 -05:00
ConnorSkees
c615c5806c Parse StyleSheet into Css struct and pretty print it 2020-01-05 12:37:02 -05:00