Comments (3)
I just realized if I use your function, it loads in around 1 second:
let mut game: PostFlopGame = load_data_from_file("test.bin", None).unwrap().0;
I still have the issue of not being able to load files concurrently though.
from postflop-solver.
The reason the load_data_from_file
function is faster than your code is probably because the former uses std::io::BufReader
. From here on, I will assume a situation where the BufReader
is used.
In conclusion, I don't think parallel loading improves performance. I cannot say for sure about the MacBook's SSD performance because it depends on capacity, but assuming a 1 TB or larger capacity SSD, which is the fastest, its read speed is at most 6 GB/s. This maximum speed would not be achievable in a real-world application, so reading 1.8 GB in 1 second is actually fast enough. Parallel execution is not a magic bullet for speed and cannot overcome SSD bottlenecks.
from postflop-solver.
That makes sense. Thank you 🙏
from postflop-solver.
Related Issues (20)
- Easiest way to compute intermediate EVs and MESs during solve HOT 4
- Removing different actions from different turns/rivers HOT 7
- Add game tree visiting logic? HOT 4
- Add discussion board to repo? HOT 1
- PLO extension HOT 4
- Why resets the cumulative strategy when the number of iterations is a power of 4? HOT 1
- Print tree actions HOT 2
- Exploitability Calculation - ICM HOT 4
- Release Ram after solving HOT 1
- [Project] Trainer derived from postflop-solver HOT 1
- Is there a limit to the number of cores used? HOT 6
- GPU implementation HOT 1
- Unclear how to save a file HOT 2
- I wish I had a clue how to use this.. HOT 2
- node lock HOT 2
- Extremely slow serialization with bincode v2 HOT 1
- Decompression speed improvements
- Example usage and solver tests are incorrect HOT 3
- Announcement: Suspension of development of open-source poker solver project HOT 5
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 postflop-solver.