I hereby claim:
- I am rhishikeshj on github.
- I am rhishikeshj (https://keybase.io/rhishikeshj) on keybase.
- I have a public key ASBjjoCAQuO2mW93jdiNOV72W0R-_cmZrz_XDCbNt4ls4Qo
To claim this, I am signing this object:
// | |
// ReflectionUtil.m | |
// | |
// Created by Rhishikesh Joshi on 02/09/15. | |
// | |
#import "ReflectionUtil.h" | |
@import ObjectiveC; | |
@implementation ReflectionUtil |
private Task _debounceTask; | |
public ExtendedEntry() | |
{ | |
int debounceDelay = 500; | |
CancellationTokenSource _debounceTaskCancellationSource = null; | |
TextChanged += (sender, e) => | |
{ | |
if (_debounceTask != null) | |
{ |
I hereby claim:
To claim this, I am signing this object:
(defmacro record-time | |
"Evaluates expr and calls recorder fn. Returns value of expr. | |
recorder is an fn of 2 args, | |
time-taken double | |
expr string" | |
[recorder expr] | |
`(let [start# (. System (nanoTime)) | |
ret# ~expr] | |
(~recorder (/ (double (- (. System (nanoTime)) start#)) 1000000.0) ~(str expr)) | |
ret#)) |