View Single Post
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 12-01-2017 , 06:23   Re: a small question: fgets or read_file, which is faster?
Reply With Quote #4

https://wiki.alliedmods.net/Optimizi...)#File_Writing


Quote:
Originally Posted by HamletEagle View Post
Don't use read_file/write_file.
these could use a deprecation warning in 1.8.3 like client_disconnect
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline