Re: [Factor-talk] How would I solve this better in Factor?

2016-02-25 Thread Jon Harper
"Hi, I wrote a basic o(n^4) solution to see how simple it could get. The code looks nice to me, but it's sllw :) like 1 hour on the 3200 chars string.. http://paste.factorcode.org/paste?id=3843 I noticed we have 1 function in common : remove-after-underscore. You can can see how head and

Re: [Factor-talk] How would I solve this better in Factor?

2016-02-25 Thread Alexander Ilin
Hello, Jon! 25.02.2016, 20:02, "Jon Harper" : > I wrote a basic o(n^4) solution to see how simple it could get. The > code looks nice to me, but it's sllw :) like 1 hour on the 3200 > chars string.. http://paste.factorcode.org/paste?id=3843 Wow, your code looks very

Re: [Factor-talk] How would I solve this better in Factor?

2016-02-25 Thread Alexander Ilin
PPS: even shorter: : remove-after-underscore ( seq -- seq' ) "_" split1 drop ; ---=--- Александр -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App