On 04 Aug 2014, at 10:38, Clément Bera <[email protected]> wrote:
> > > > 2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk <[email protected]>: > Hi guys, > > I have a script that runs very slow and does a lot of non dependent operation > of a collection. I wander if I can speed it up by making it run in another > process, because as far as I understand everything runs on a single thread, > so I guess this won’t save me. > Thanks, I know about this, The problem is exactly that I’m wrapping whole hierarchies in my own objects because I need that. Anyway thank you! Uko > I don't think forking can speed up anything. > > Usually the best solution is to profile your operation with the Profiler, > then implement differently costly operations, either by removing object/block > creations in smalltalk if this is possible, else by implementing costly > operations in C and bind them like that: > http://clementbera.wordpress.com/2013/06/19/optimizing-pharo-to-c-speed-with-nativeboost-ffi/ > > > > > Uko >
