Do persistent variables slow down load times?

All about the past, current and future webteases and the art of webteasing in general.
---
Post Reply
Scilirat
Explorer
Explorer
Posts: 30
Joined: Wed Dec 22, 2021 9:11 pm

Do persistent variables slow down load times?

Post by Scilirat »

Lets say, hypothetically, I wanted to create a tease with 100+ persistent variables. Would this lead to an insufferably slow load time for the tease?
I'm worried that the player would have to wait like an entire minute for the tease to load.
spaisin
Explorer At Heart
Explorer At Heart
Posts: 139
Joined: Wed Sep 23, 2015 6:24 pm

Re: Do persistent variables slow down load times?

Post by spaisin »

Hypothetically, nah. The size in megabytes could become an issue, but a 100 numbers / short strings / whatnot isn't going to be an issue.

Practically; give it a test in a dummy..
User avatar
indyc
Explorer At Heart
Explorer At Heart
Posts: 530
Joined: Sun Mar 28, 2021 10:03 pm
Contact:

Re: Do persistent variables slow down load times?

Post by indyc »

No, they wouldn't take up that much space. Total size of the code would be the big factor in loading. I found the max publishable size to be about 12.6mb. (I had to compress TOTS down from about 15.8 mb) I cant imagine even 1000 variables taking up 1 MB of that.

In short, I wouldnt worry about it. I've never seen anyone elses tease go higher than about 9mb.
Post Reply