For make to run n jobs in parallel set MAKEFLAGS to ‘-jn’. For port, add ‘buildmakejobs n’ to macports.conf. 3×speedup for n=4 on my system.... 11:43 AM Jun 28th from web |
|
|
s = "43821788508"
s.scan(/.{1,2}(?=.{3}+$)|.{3}/).join('.')
→ 43.821.788.508
I love languages with regexps as first class citizens! 7:35 PM May 30th, 2007 from twitterrific |
|
|
|