Look how they've implemented Basic using implicit type conversion.
http://habrahabr.ru/blogs/scala/98288/
P.S. Also later found what this guy did, it's kills my brain
Friday, October 28, 2011
The best Scala actors explanation
Here is an awesome article that shows the power of actors and actors in Scala in particular
http://java.dzone.com/articles/scala-threadless-concurrent
http://java.dzone.com/articles/scala-threadless-concurrent
Sunday, May 15, 2011
H2: UUID vs INT
I need to decide when developing Orchid if I should use UUID or INT for primary keys. If I use UUID I can generate ID's on any node I want and it seriously impacts simplicity of algorithms. And simple is good! )
Most of the people I asked about performance impact of switching to UUID told me not to do that. I decided to benchmark.
Most of the people I asked about performance impact of switching to UUID told me not to do that. I decided to benchmark.
Inserts count:500000 Read count:100000 Putting 'uuid': 79.893 sec Putting 'int': 70.266 sec Reading 'uuid': 4.085 sec Reading 'int': 2.734 sec Reading 'uuid': 3.06 sec Reading 'int': 2.687 sec Reading 'uuid': 2.859 sec Reading 'int': 9.188 sec Reading 'uuid': 7.87 sec Reading 'int': 6.901 sec Reading 'uuid': 7.094 sec Reading 'int': 6.844 secIt looks like impact the is negligible. Sweet
Saturday, May 7, 2011
First post
I am here
public class Main{ public static void main(String[] args){ System.out.println("hello world"); } }
Subscribe to:
Posts (Atom)