Hi Martin:

On 21 May 2013, at 14:31, Martin Dias <[email protected]> wrote:
> BTW, does SMark provide a way to write ad-hoc bechmarks in the
> workspace, without creating a bench* method in a benchmark class?
> 
> I mean something like:
> 
> [ 1000 factorial ] bench
> 
> but with the power of smark

No, it doesn't currently.

But if you care enough to implement it, you'll probably want to have a tool 
class that has a benchDoIt method, which in its body just sends #value to the 
block. 

Patches welcome ;)

Thanks
Stefan


-- 
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525


Reply via email to