Hi Stephan, On Tue, May 21, 2013 at 2:55 PM, Stefan Marr <smalltalk@stefan-marr.de> wrote:
Hi Martin:
On 21 May 2013, at 14:31, Martin Dias <tinchodias@gmail.com> 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 ;) First I would need to try more SMark. That won't happen in the immediate future, but I'd be glad to do it in some moment. Cheers!
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