Skip to content
  • ggaren's avatar
    Reviewed by Maciej Stachowiak. · 7702a7a5
    ggaren authored
            
            2% speedup on super accurate JS iBench.
    
            (KJS::Collector::collect): Removed anti-optimization to call
            pthread_is_threaded_np() before calling pthread_main_np(). Almost all 
            apps have more than one thread, so the extra call is actually worse.
            Interestingly, even the single-threaded testkjs shows a speed gain
            from removing the pthread_is_threaded_np() short-circuit. Not sure why.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7702a7a5