Commit Graph
8 Commits
Author SHA1 Message Date
José Valim ce41a70b2e Update registered process lists, closes #9103 2019-05-31 19:24:17 +02:00
Daniil Fedotov 145b7019ae Make regexes fall back to binary matching on incompatible runtime version (#9040)
Regexes are precompiled to binary values during code compilation.
These binary values may be incompatible between different PCRE versions
and OS endianness. This makes code less portable to achieve slight
performance improvement.

PCRE version and endianness are parts of Regex structure and may be
checked in runtime.

This commit adds this check and makes regex execution fall back 
to binary matching if versions are incompatible.

This slightly reduces performance (around 5% for simple regexes) for
compatible versions because there is an additional version read.
Also for incompatible versions it's as fast as binary matching.
2019-05-21 09:34:55 +02:00
Lau Taarnskov b8b1a4ba8a Add TimeZoneDatabase behaviour for time zone data.
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2018-11-13 17:43:59 +01:00
Michał Muskała 8a64261b22 Replace use of rebar in build scripts 2018-06-15 14:11:19 +02:00
José Valim 9e1485f29a Start v1.7 2017-12-23 19:40:30 +01:00
José Valim c93cd33e5c Remove entry points for rebar 2 2017-09-29 16:11:37 +02:00
José Valim 7c6f78206e Allow elixir to work as a rebar dependency
rebar expects its dependencies to have a file at `src/elixir.app.src`.
This is a work around a rebar limitation since it should support a way
to have an umbrella application, as OTP.
2012-07-08 16:50:54 +02:00
José Valim d5031b6347 Move all code to erlang style apps 2012-07-05 20:20:16 +02:00