Sergey Prokhorov

Results 43 issues of Sergey Prokhorov

Some support for `ngettext(Singular, Plural, Count)` + evaluator for pluralization rules from `Plural-Forms` .po header may be good thing. ``` Plural-Forms: nplurals=3; \ plural=n%10==1 && n%100!=11 ? 0 : \...

Add `{read_concurrency, true}` option to ETS table and lookup it directly, bypasing `gen_server:call`. This may be done without any API changes.

https://github.com/erlang/otp/commit/78ea501bcc84bd8bd49da97e514c1c3b20682d86

I use macroses to hide internal exception data structure. I have .hrl file like ``` -define(MATCH_MY_ERROR, {my_error, _, _}). -define(MATCH_MY_ERROR(ErrorTag), {my_error, ErrorTag, _}). ``` And inside my code I use...

bug

On the bottom of the http://erldocs.com/R15B/stdlib/string.html Starting from R14B03

https://www.rebar3.org/docs/using-templates#section-plugin-templates Might be handy. But not much we can do from the template: * Create a module * Create and export dummy becnhmark fun: `my_benchmark(init) -> ...; my_benchmark({input, _}) ->...

Right now we use basic `-m module -b bench` options. Would be nice to have something more flexible. My suggestion is to introduce `-f / --filter ` key: ``` match...

Would be nice to be able to not only runn benchmarks and compare results with baseline, but also to be able to define 2 implementations at the same time and...

https://github.com/seriyps/rebar3_bench/blob/03bb6ece29adf7315e28757d5e17d61cd4c204b2/src/rebar3_bench_runner.erl#L129-L134 Should find if it's possible to somehow minimize the amount of work done by the loop.