/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
How I cut GTA Online loading times by 70%
(nee.lv)
3883 points
kuroguro
| 1 comments |
28 Feb 21 19:38 UTC
|
HN request time: 0.253s
|
source
Show context
tyingq
◴[
28 Feb 21 20:23 UTC
]
No.
26296701
[source]
▶
>>26296339 (OP)
#
"They’re parsing JSON. A whopping 10 megabytes worth of JSON with some 63k item entries."
Ahh. Modern software rocks.
replies(3):
>>26296764
#
>>26297102
#
>>26297434
#
bombcar
◴[
28 Feb 21 20:29 UTC
]
No.
26296764
[source]
▶
>>26296701
#
At least parse it into SQLite. Once.
replies(2):
>>26297066
#
>>26297149
#
tyingq
◴[
28 Feb 21 21:17 UTC
]
No.
26297149
[source]
▶
>>26296764
#
I think just using a length encoded serialization format would have made this work reasonably fast.
replies(1):
>>26297224
#
1.
hobofan
◴[
28 Feb 21 21:27 UTC
]
No.
26297224
[source]
▶
>>26297149
#
Or just any properly implemented JSON parser. That's a laughable small amount of JSON, which should easily be parsed in milliseconds.
ID:
GO
↑