This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Groovy and the fly likes How to compute delta time and lines per second when reinventing findstr/find/grep Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "How to compute delta time and lines per second when reinventing findstr/find/grep" Watch "How to compute delta time and lines per second when reinventing findstr/find/grep" New topic
Author

How to compute delta time and lines per second when reinventing findstr/find/grep

Siegfried Heintze
Ranch Hand

Joined: Aug 11, 2000
Posts: 396

This fragment of code is not working with Groovy 1.9.2-beta. The "/" seems to be causing the problem:


I know, my variable names need some work. jj is the number of lines. start is this start time and end is the end time. Computing the delta time works great. How do I compute lines/second?
Thanks
Siegfried

Here is the stack trace:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to compute delta time and lines per second when reinventing findstr/find/grep
 
It's not a secret anymore!