Closed lellis1936 closed 6 years ago
Can you show the code where you create the tfa
object? Are you sure the period isn't set to 6 seconds?
DAMNED... rushed it too hard. There's a bug indeed... instead of timeslices it returns timestamps. I'll see what I can do.
Yes, all is well now. Thank you. Your library is elegant and simple indeed. Love the sample program, too to get a programmer up-to-speed. So happy to be able to switch now off our home-brewed solution.
The new methods are working great for my application, but there seems to be a bug. I am getting slice values that are separated by as little as 6 seconds, and they are not multiples of 30 seconds. Here is some code:
I assume the timeslice value is supposed to be a unix timestamp rounded down to the previous 30 second boundary, and that it represents the timeslice associated with the matched code.
But I see the following values on one iteration:
Is this a bug? What I am seeing is that my code fails to detect code reuse if the same code is entered twice.