Scala Performance Basic (part II)
This post is a continuation of the previous post: https://labs.flinters.vn/scala/scala-optimization-pitfalls-part-i/ (the title was changed to fit the purpose better) In previous post, we have examined...
Scala Optimization Pitfalls (part I)
I. Introduction As programming languages and optimization techniques become more and more advanced, we often ignore the performance cost when using advanced language features thinking...
Play framework: Dependency Injection for Unit Test
I- Problem: When one has to write Unit Test for Play Framework apps, more than usual one will have to use FakeApplication to provide an...
Functional Programming’s Toolkit: Map
I. Giới thiệu Tiếp theo trong chuỗi các bài về các pattern hay gặp trong Functional Programming, bài viết này sẽ đề cập tới một...
Functional Programming’s Toolkit: Fold
I- Giới thiệu Functional Programming Functional Programming (lập trình hàm – FP) nhắm đến tính kết hợp (composability) các hàm (function) để tối đa hóa...
Loop unswitching – a performance appraisal
Continue from the last blog post After reading Mr. Hưng last blog post about loop unswitching optimization technique and his question whether JVM or other...