This was the type of technique I was thinking of - https://murdoch.is/talks/eurobsdcon07hotornot.pdf