message: Optimize performance
diff: @@ -1738,18 +1738,18 @@ static swConnection* swServer_connection_new(swServer *serv, swListenPort *ls, i
  #endif
  #ifdef SW_REACTOR_USE_SESSION
  - uint32_t session_id = 1;
  swSession *session;
  sw_spinlock(&SwooleGS->spinlock);
  int i;
  + uint32_t session_id = SwooleGS->session_round;
  //get session id
  for(i = 0; i < serv->max_connection; i++)
  {
  - session_id = SwooleGS->session_round++;
  - if (unlikely(session_id == 0))
  + session_id++;
  +
  + if (unlikely(session_id == 1<<24))
  {
  session_id = 1;
  - SwooleGS->session_round = 1;
  }
  session = swServer_get_session(serv, session_id);
  //vacancy
  @@ -1761,6 +1761,7 @@ static swConnection* swServer_connection_new(swServer *serv, swListenPort *ls, i
  break;
  }
  }
  + SwooleGS->session_round = session_id;
  sw_spinlock_release(&SwooleGS->spinlock);
  connection->session_id = session_id;
  #endif
  