일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 파이썬 동시성
- 하이퍼레저 패브릭
- Adapter 패턴
- 안드로이드 웹뷰
- 스칼라 동시성
- 하이브리드앱
- 블록체인
- akka 강좌
- play2 강좌
- 스칼라
- Play2 로 웹 개발
- 파이썬 강좌
- 플레이프레임워크
- 파이썬
- Actor
- hyperledger fabric
- 파이썬 머신러닝
- 스위프트
- play 강좌
- 이더리움
- Hyperledger fabric gossip protocol
- Akka
- 주키퍼
- Play2
- 파이썬 데이터분석
- Golang
- CORDA
- 스칼라 강좌
- 그라파나
- 엔터프라이즈 블록체인
- Today
- Total
목록2021/06/07 (2)
HAMA 블로그
Coroutine // THREAD 방식 fun main() { val startTime = System.currentTimeMillis() val counter = AtomicInteger(0) val numberOfCoroutines = 100_00 val jobs = List(numberOfCoroutines) { thread(start = true) { Thread.sleep(100L) counter.incrementAndGet() } } jobs.forEach { it.join() } val timeElaspsed = System.currentTimeMillis() - startTime println(timeElaspsed) } // Coroutine 방식 import kotlinx.corout..
class Tuple(vararg elements: Any) { val elements: Array init { this.elements = elements as Array } fun get(index: Int): Any { return elements[index] } fun size(): Int { return elements.size } override fun hashCode(): Int { return Arrays.deepHashCode(elements) } override fun equals(o: Any?): Boolean { if (this === o) return true if (o == null || javaClass != o.javaClass) return false val other = ..