Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
57 stars 45 forks source link

Source. Profiler: change function container #1106

Open cbnolok opened 1 year ago

cbnolok commented 1 year ago

Right now the functions are stored in the profiler class as a linked list, which is needlessly slow. We might change that in the future to a std::vector or a CSSortedVector (if the number of functions inside that container gets really big, it would need some profiling before deciding that).