Comments (7)
As for latency, there is no other way but to measure it in the end. In fact, it could be that it is hardly a problem.
However, it is inevitable that the code will become more complex
from kancolle-replay.
Besides the sheer volume of work, other concerns would include.
- Will the addition of this functionality delay the original simulation process?
- Won't that clutter up the code writing?
Honestly, I can't think of a concrete solution for this.
from kancolle-replay.
Frankly I have no knowledge of how the internal computation/ source code works within the simulator, but wouldn't an option a user can tick to include the time measurements within the simulator settings be an easy fix?
from kancolle-replay.
It would be easy to prepare a flag and switch.
However, a description of the time measurement is required for every operation (either to be added sequentially or to be logged and calculated together).
from kancolle-replay.
That would be necessary as I can imagine. That being said, I do think the order of computational complexity shouldn't change (e.g. less than double the current speed as it is only doing an additional sum for every existing operation) with this feature. Of course, only users who wish to obtain these statistics would have reason to wait the extra dozen seconds.
from kancolle-replay.
It's an interesting idea, but yeah my main concern is the amount of work, not just to start but to maintain (e.g. still need update if devs add something niche like atoll node attacks, Momochi anti-install animation), not sure if that's something I'm willing to maintain for now.
Won't that clutter up the code writing?
My idea is to turn on API generation which is used for Watch a Replay, use that to calculate time (as animations are directly tied to API), all separate from sim code. But yes that would increase sim time and would need a flag.
Of course also can't handle variables such as network latency, asset loading/caching, player's speed clicking yasen button, etc.
from kancolle-replay.
I would greatly appreciate it if you were to entertain the possibility. Thank you for your attention and feedback.
from kancolle-replay.
Related Issues (20)
- Take fit bonus of equipment into account?
- some issue about sortie simulator HOT 2
- [Feature Request] 3 features request about sortie simulator
- Souya ammo consumption values causing NaN on ammo reports
- Shoot order in Night battle HOT 1
- Friend Fleet import error
- Requests HOT 2
- bugs and requests HOT 2
- Air night attacks should ignore all anti-installation bonus HOT 5
- Could you add Sparkling functionality to friendly fleets? HOT 1
- Reflection of LBAS HOT 1
- Suggestions for UI HOT 1
- Sortie Sim: submarine touch fires multiple times in a single day battle
- bug?
- Extended Japanese mode
- Behavior of flagship protection in the air phase HOT 1
- Shared link generation HOT 14
- [Feature Request] Allow the user to set up a filtering criteria for “Watch a Sortie”. HOT 2
- [Feature Request] Taiha retreat filter feature addition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kancolle-replay.