Better HN
topnewbestaskshowjobs
Log inSign up

minborg

38 karma · joined Sep 1, 2014 (12y ago) · 35 submissions

Submissions

comment 8y ago · link · parent

Your proposed "solution" is hardly a general solution. The winner used a java.util.stream.Stream class which is a standard Java class. The rules (https://www.speedment.com/code-one/) stated that import/main class rows were not counted. But even if they did, they would impact any solution about the same.

comment 8y ago · link · parent

It reads from memory, not the database. It is true that querying a database vs. using in-JVM-memory snapshots are not the same. They both have different properties. The case at hand was to analyze immutable data where working with snapshots makes sense. If, on the other hand, the case was to work with data in a highly transactional application, then snapshots make little or no sense.

comment 8y ago · link · parent

It would be interesting to do a benchmark between Speedment and in-memory SQLite. I will put that on my list. Thanks for the tip.

comment 8y ago · link · parent

Speedment uses in-JVM-memory technology so, once the tables are moved into the JVM, streams are served using content and indexes directly from off-heap RAM.

comment 8y ago · link · parent

Hi all! Nice to see your engagement. I understand your concern about self-promotion but the contest was open and contestants were free to choose any tool, not just Speedment.

I have contributed to open-source speedment stream ORM for many years and have now added in-JVM-memory acceleration. I am still curious to see if your guys can come up with something better.

Give it a real shoot using whatever you can think of. If you can beat it, I promise to write another article about it. Sounds fair?

NB: Setup code adds about 5 extra lines, similar to other tools.

6.

Java Code Challenge: Shortest Code and Lowest Latency(minborgsjavapot.blogspot.com ↗)

46 points · by minborg · 8y ago · 13 comments

7.

Blow Up Your JUnit5 Tests with Permutations(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 8y ago · discuss

8.

Run Java Streams much faster under GraalVM(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 8y ago · discuss

9.

Infinite Sets in Java 9(minborgsjavapot.blogspot.com ↗)

2 points · by minborg · 8y ago · discuss

10.

Parallel Database Streams in Custom Java 8 Thread Pools(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 10y ago · discuss

11.

Java 8: Streams in Hibernate and Beyond(javadeau.lawesson.se ↗)

3 points · by minborg · 10y ago · discuss

12.

Learn how to remove things in O(1) time with Java 8(javadeau.lawesson.se ↗)

2 points · by minborg · 10y ago · discuss

13.

A new Major version of Speedment Stream ORM for Java 8 is released(minborgsjavapot.blogspot.com ↗)

2 points · by minborg · 10y ago · discuss

14.

Type-safe Java 8 streams from databases in minutes(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 10y ago · discuss

15.

Put Your Java 8 Method References to Work(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 10y ago · discuss

16.

Java will get Local Type Inference finally(minborgsjavapot.blogspot.com ↗)

3 points · by minborg · 10y ago · discuss

17.

Java 8: A Type Safe Map Builder Using Alternating Interface Exposure(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 10y ago · discuss

18.

Plug in Your Own Components with Java 8(minborgsjavapot.blogspot.com ↗)

2 points · by minborg · 10y ago · discuss

19.

Minborg's Java Pot: Be Lazy with Java 8(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 10y ago · discuss

20.

Minborg's Java Pot: Easily Create Database Content with Java 8(minborgsjavapot.blogspot.com ↗)

2 points · by minborg · 11y ago · discuss

21.

Java 8, Query Databases Using Streams (Minborg's Java Pot)(minborgsjavapot.blogspot.com ↗)

5 points · by minborg · 11y ago · 1 comment

22.

Minborg's JavaPot: An O(1) N-factorial Support Class for Java 8(minborgsjavapot.blogspot.com ↗)

2 points · by minborg · 11y ago · discuss

23.

Minborg's Java Pot: Java 8, Master Permutations(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 11y ago · discuss

24.

Java 8's Functional View on POJOs (Plain Ordinary Java Object)(minborgsjavapot.blogspot.com ↗)

3 points · by minborg · 11y ago · 1 comment

25.

Return Constructed Values in Java 8(minborgsjavapot.blogspot.com ↗)

2 points · by minborg · 11y ago · discuss

26.

Enforcing Java Singletons is Very Hard, Learn how to hack them all(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 11y ago · discuss

27.

Java 8, BYO Super Efficient Maps Quadruple Your Map Performance(minborgsjavapot.blogspot.com ↗)

2 points · by minborg · 11y ago · discuss

28.

Java 8, Initializing Maps in the Smartest Way(minborgsjavapot.blogspot.com ↗)

1 points · by minborg · 11y ago · 1 comment

29.

Java 8, Implementing a ConcurrentHashSet(minborgsjavapot.blogspot.com ↗)

3 points · by minborg · 11y ago · discuss

12