presentations/highlight-js/test/detect/pony/default.txt

21 lines
343 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
use "collections"
class StopWatch
"""
A simple stopwatch class for performance micro-benchmarking
"""
var _s: U64 = 0
fun delta(): U64 =>
Time.nanos() - _s
actor LonelyPony
"""
A simple manifestation of the lonely pony problem
"""
var env: Env
let sw: StopWatch = StopWatch
new create(env': Env) =>
env = env