Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- 카프카
- kafka interactive query
- 한빛미디어
- kafkastreams
- schema registry
- play framework
- scala 2.10
- kafka streams
- gradle
- Elasticsearch
- springboot
- spring-kafka
- 플레이 프레임워크
- RabbitMQ
- scala
- Elk
- kafkastream
- spring-cloud-stream
- confluent
- spring-batch
- coursera
- Logstash
- Slick
- avo
- aws
- Kafka
- reactive
- Spring
- statestore
- enablekafkastreams
Archives
- Today
- Total
목록Lazy (1)
b
scala의 lazy 비용
lazy val x = 솰라솰라... 단순히 늦은/지연 연산일 줄만 알았다... testclass lazyval { lazy val x = 5 }를 scalac로 컴파일하고 다시 디컴파일 해서 내용을 보면public class lazyval{ private int x$lzycompute() { synchronized(this) { if(!bitmap$0) { x = 5; bitmap$0 = true; } BoxedUnit _tmp = BoxedUnit.UNIT; } return x; } public int x() { return bitmap$0 ? x : x$lzycompute(); } public lazyval() { } private int x; private volatile boolean bitma..
language/scala
2014. 10. 21. 17:25