-- [ Picked text/plain from multipart/alternative ] You could try "rolling your own."
Mani was discussing KeyValues on IRC a while back. He said once you got above a couple thousand keys they were very inefficient. If I remember the numbers right, his custom code was taking something like 3 seconds for what was taking keyvalues over 30 seconds to do. On 6/11/07, Oliver <[EMAIL PROTECTED]> wrote: > > -- > [ Picked text/plain from multipart/alternative ] > CONTEXT: In our mod, we allow users to create event-driven worlds and save > their work. Saving is done with .res files and uses > KeyValues::SaveToFile(...). Some of our testers created worlds with ALOT > more entities than we planned for, resulting in large res files (>2mb). > > PROBLEM: A 2mb file takes about 1.75 minutes to save to disk, which is way > to long for users. > > QUESTIONS: > a) Anyone know how to improve the time for SaveToFile(...)? > b) Should SaveToFile(...) be faster then the times we are getting? > > Thanks. > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

