Vlad Zarakovsky
Vlad Zarakovsky
Recently released Round 17 of the TechEmpower Framework Benchmarks has an interesting change: https://www.techempower.com/blog/2018/10/30/framework-benchmarks-round-17/ > As you review Round 17 results, you'll notice that Postgres database tests are stratified—there are...
Hi Peter, huge fan of you high perf projects. So there is agoo for Ruby and [Crystal](https://crystal-lang.org) which you most likely already heard of is very similar to Ruby in...
I've been reading book sequentially and stumbled upon this https://crystal-lang.org/reference/syntax_and_semantics/literals/proc.html > A Proc represents a function pointer with an optional context (the closure data). It is typically created with a...
I was playing with https://github.com/edin/raytracer benchmarks to see how different versions of Ruby perform as well as Crystal https://www.ruby-forum.com/t/ruby-raytracer-in-crystal/261230/3 I wonder if that has something to do with my environment...
Results from `solve` can sometimes be incorrect (depend on expression ordering) when one of the named expressions were already in calculator memory. 1. Incorrect behavior ```ruby require "dentaku" calculator =...
Dentaku has both - bang methods like `evaluate!` which raise unbound variable errors - and non bang like `evaluate` which return `nil` values I want to start a discussion on...
This one raises error as `b` was not provided. ```rb Dentaku!("a OR b", a: true) # => Dentaku::UnboundVariableError ``` Semantically since `a` is true, the value of `a OR b`...
This works: ```ruby calc = Dentaku::Calculator.new calc.evaluate!('2020-04-01 + duration(1, month)').to_date # => Fri, 01 May 2020 ``` This fails: ```ruby calc.evaluate!('value + duration(1, month)', { value: DateTime.parse('2020-04-01').to_date }).to_date # =>...
Same as https://github.com/jonschlinkert/array-unique/blob/master/benchmark/code/while.js, but preserves the order of elements in result array, which is nice to have. Performance is almost as good as while.js BTW, is there any reason the...