The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Please upload and run the attached script. What it does: make a bunch of junk data in an array, shift it like a queue (drop first element and add one on the end), then test serializing and unserializing times.
Output should be like: Code:
Making junk data...Done (8.9 msec so far; array has 100 elements) Moving queue on junk data by one element...Done (9.2 msec so far; array has 100 elements) Serializing...Done (9.6 msec so far; serialized data is 2282 chars) Unserializing...Done Finished in 9.9 msec |
|
#2
|
|||
|
|||
|
Side note: you wouldn't believe how insanely fast unserialize() is compared to serialize()...an array with 50,000 elements took a couple seconds to serialize but around 4 milliseonds to unserialize.
|
|
#3
|
|||
|
|||
|
And the use of this is ?
|
|
#4
|
||||
|
||||
|
For one of filby's top secret projects... :x
|
|
#5
|
|||
|
|||
|
A hack to automatically ban suspiciously active users (free).
|
|
#6
|
||||
|
||||
|
How does it work then?
|
|
#7
|
||||
|
||||
|
Quote:
![]() Satan |
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
Yeesh that's slow...is that your actual server or a test server?
|
![]() |
|
|