Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
That could get pretty big.
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
Does this interface support changing permissions for offline users? That's a pretty essential feature.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
It doesn't, yet. Do you have any recommendations about what it should look like, how to integrate it?
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
I'd recommend removing the rank changing from the player details page, and create a new page - "Player Permissions" or something.
There should be an easy lookup feature - just type in the name and jump to a player, and also a list of everybody and what rank they have (plus a dropdown and save button for each player to change the rank).
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
I'm writing a migration path, so that the server auto-migrates from INI files to SQLite DB, and I've hit some kind of a performance bottleneck. Processing just 80 players takes 10 seconds! WhatTheFunction?!?
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
Something's seriously wrong. I've just retried the same code with VS2013 on a slightly faster computer and it takes a fraction of a second. Did the VS optimizer get really that good? Do I really write such a poor code?
Posts: 783
Threads: 12
Joined: Jan 2014
Thanks: 2
Given 73 thank(s) in 61 post(s)
They did put a lot of work into MSVC's optimiser in the last couple of cycles. Also how much newer if the cpu in the faster computer? A lot of the recent processors have got more performance per cycle. Also your moving around a lot of strings in the code so you may be benefiting form move constructors. People have seen 5-10% gains on some code purely from turning on the c++11 standard libs.