[Factor-talk] UI worlds and printing question

2015-01-17 Thread Mark Green
Hi, Thanks. I hadn't considered that the UI was setting the input stream to something else! On the pop-ups - ok, fair enough, but is there then a good way to open a popup that is not constrained to the borders of the parent window to get around issue #1268? (Actually, where is the code that open

Re: [Factor-talk] Google+ Factor community and first question

2015-01-17 Thread Björn Lindqvist
Great initiative, I subscribed! 2015-01-16 9:46 GMT+00:00 Marc Hanisch : > Hell list, > > I've discovered Factor some days ago and am really impressed! On the search > for more information I couldn't believe that there is no community / forum / > whatever - except this mailinglist - where users ca

[Factor-talk] A performance challenge

2015-01-17 Thread Björn Lindqvist
Hello all, Someone made a benchmark on github to compare performance of different languages on a simple pathfinding problem: https://github.com/logicchains/LPATHBench/blob/master/writeup.md It's getting popular and people are quoting the results they get from it to show that a language is really

Re: [Factor-talk] A performance challenge

2015-01-17 Thread John Benediktsson
Factor is pretty fast already, but there are also some pretty low-hanging fruit like these: * Lift generic dispatch out of loops, for example this 30% win for iterating over slices: https://github.com/slavapestov/factor/issues/1213 https://github.com/slavapestov/factor/issues/839 * Fixn

Re: [Factor-talk] A performance challenge

2015-01-17 Thread John Benediktsson
Also, minor comment, instead of: length [ 0 ] { } replicate-as ; You can just do: length 0 And instead of the array-nth stuff, you can just do some type declarations and the compiler should make it the same as your array words: { fixnum array } declare nth-unsafe ; { array }