Refactor/histograms #203

Merged
altavir merged 6 commits from refactor/histograms into dev 2021-02-18 18:05:04 +03:00
altavir commented 2021-02-12 22:44:47 +03:00 (Migrated from github.com)
No description provided.
Zelenyy (Migrated from github.com) reviewed 2021-02-15 12:19:09 +03:00
@ -19,1 +19,3 @@
public fun add(d: Double)
public class IntCounter : Counter<Int> {
private val innerValue = atomic(0)
Zelenyy (Migrated from github.com) commented 2021-02-15 12:19:09 +03:00

Why not inline class?

Why not inline class?
altavir (Migrated from github.com) reviewed 2021-02-15 12:24:35 +03:00
@ -19,1 +19,3 @@
public fun add(d: Double)
public class IntCounter : Counter<Int> {
private val innerValue = atomic(0)
altavir (Migrated from github.com) commented 2021-02-15 12:24:35 +03:00

It is an interface. Atomics should not be exposed to the outside world. Also, inlining does not give anything here.

It is an interface. Atomics should not be exposed to the outside world. Also, inlining does not give anything here.
Zelenyy (Migrated from github.com) approved these changes 2021-02-18 17:54:53 +03:00
Sign in to join this conversation.
No description provided.