Skip to content

Instantly share code, notes, and snippets.

@onionhammer
Last active December 31, 2015 07:09
Show Gist options
  • Save onionhammer/7952099 to your computer and use it in GitHub Desktop.
Save onionhammer/7952099 to your computer and use it in GitHub Desktop.
Times leak?
import os, times
var i = 0
while true:
var t = getTime()
var l = t.getLocalTime()
var g = t.getGMTime()
if i mod 100 == 0:
echo "memory: ", getOccupiedMem()
i = 0
inc(i)
sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment