65 Commits

Author SHA1 Message Date
Connor Skees
0c7e2017d5 use patched version of peekmore 2020-08-08 21:38:59 -04:00
Ivan Tham
edec89093b use phf for named rgba map hashing
Improves many_named_colors benchmark by ~40%.

many_named_colors       time:   [897.66 us 900.05 us 903.05 us]
                        change: [-41.299% -40.114% -38.800%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  2 (2.00%) high mild
  4 (4.00%) high severe
2020-08-02 15:03:55 -04:00
Connor Skees
91b000ac0d bump version to 0.10.0 2020-07-24 23:59:36 -04:00
Connor Skees
9dc87f4c96 bump dependencies 2020-07-24 23:54:19 -04:00
Connor Skees
fa06351af0 drop lasso back down to 0.2.0 due to regressions 2020-07-24 17:54:48 -04:00
Ivan Tham
741f560e90 bump lasso 0.3 2020-07-22 17:23:47 -04:00
Connor Skees
2dfda192bc implement string interning 2020-07-08 21:36:41 -04:00
Connor Skees
f7bb133cfd bump version to 0.9.5 2020-07-06 10:30:21 -04:00
Connor Skees
c952eadc07 by default, crate-type is unset
this seems to be causing build failures for some people
2020-07-06 09:37:04 -04:00
Connor Skees
92aa149f8a remove dependency on bitflags 2020-07-05 10:21:43 -04:00
Ivan Tham
85ec26001a Keep parser context with bitflags 2020-07-05 09:35:42 -04:00
Connor Skees
379eeb4fd3 bump version to 0.9.4 2020-07-04 21:30:42 -04:00
Connor Skees
641ff007fb bump version to 0.9.3 2020-07-04 14:40:21 -04:00
Connor Skees
28fa06a85f bump version to 0.9.2 2020-07-03 21:32:45 -04:00
ConnorSkees
41bfea3cea update dependencies 2020-06-26 08:03:43 -04:00
ConnorSkees
218d73c982 bump version to 0.9.1 2020-06-20 22:06:45 -04:00
ConnorSkees
2887016ceb tidy documentation
standardize capitalization of "Sass" and make updates to reflect new
0.9.0 API
2020-06-20 06:31:43 -04:00
ConnorSkees
47c4a421ac upgrade dependencies 2020-06-19 22:47:06 -04:00
ConnorSkees
2cd81ccb0f bump version to 0.9.0 2020-06-16 20:50:41 -04:00
ConnorSkees
d71e996e2b initial implementation of selector-extend 2020-06-07 11:46:34 -04:00
ConnorSkees
b149cb3484 bump version to 0.8.3 2020-05-25 16:26:31 -04:00
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