The EASIEST Way To Optimize Your Code! | Roblox Studio

preview_player
Показать описание

0:00 - Intro
0:22 - Example / How To Use
2:46 - 8, 16, 32 Bit Ranges
3:53 - Unsigned & Signed Integers
5:23 - Single & Double Precision Floating Point Numbers
7:08 - Writing Strings & String Memory
8:20 - Reading Buffers
10:41 - Outro

Please like and subscribe for more tutorials! 💟

#roblox #robloxstudio #robloxscript #robloxscripting #robloxadvancedscripting #robloxdev #robloxdevelopment #robloxdeveloper #robloxprogramming #scripting #programming #gamedev #gamedevelopment #gamedeveloper #robloxtutorial #robloxscriptingtutorial, #robloxadvancedscripting, #programming, #robloxdev, #robloxstudiotutorial, #lua #coding, #robloxshorts, #robloxedits, #likethevideo, #robloxmemes, byteblox, codebro, dehapy, gamerm8, roblox scripting, buffers roblox studio, how to use buffers roblox studio, eight bit integer roblox studio, 8, 16, 32, 64 bit buffers roblox studio, how to reduce table size in roblox studio, how to reduce memory in roblox studio, reduce byte size in roblox studio, Roblox Studio, Roblox game development Roblox Studio, Buffers in Roblox Roblox Studio, Reducing table sizes Roblox Studio, Memory optimization Roblox Studio, 8-bit numbers Roblox Studio, 16-bit numbers Roblox Studio, 32-bit numbers Roblox Studio, 64-bit numbers Roblox Studio, Buffer functions Roblox Studio, Data management in Roblox Roblox Studio, Efficient scripting in Roblox Roblox Studio, Game performance tips Roblox Studio, Memory management Roblox Studio, Data buffers Roblox Studio, Roblox scripting tips Roblox Studio, Roblox optimization Roblox Studio, Roblox tutorial Roblox Studio, Lua programming Roblox Studio, Roblox developer guide Roblox Studio

ROBLOX,character,character shop,scripting,coding,programming,program,pc,comptuter program,lua,how to make,how,how to make a character shop,studio,roblox studio,roblox scripting,How to script,roblox,studio coding,SCRIPTING ROBLOX,stewiepfing,How to make a,Pets,egg system,simulator,roblox simulator, power ups, how to make power ups nstudio power ups scripting pet simulator x, pet, pet sim, pet sim x? LEADERSTATS, leaderstats, door, LEADERSTATS DOOR, how to make a leaderstats door, WorldBoost
ROBLOX,character,character shop,scripting,coding,programming,program,pc,comptuter program,lua,how to make,how,how to make a character shop,studio,roblox studio,roblox scripting,How to script,roblox,studio coding,SCRIPTING ROBLOX,stewiepfing,How to make a,Pets,egg system,simulator,roblox simulator,Dash,how to script a dash,power,power ups, hightlight, stroke, roblox studio highlight feature pet simulator x, Pet simulator x game, How to make a simulator, how to make a game, how to make a roblox game, printing and debugging, roblox beginners scripting, scripting, roblox programming, roblox studio, printing roblox scripting, printing, roblox, learn how to script, learn how to script roblox, pet simulator x, game developer, day in the life of a game developer, day in the life of a roblox scripter, day in the life of a programmer

kreekcraft, flamingo, sml, big games, pet simulator x, buildintogames, hazem, pls donate, polaris prog, polarisprog, roblox studio, rtc, twitter x, x, denisdaily, ibella, how to make a pet following system, arm wrestle simulator, 1coal, lanaslife, booshot, mrbooshot, skibidi toilet, skibidi, yeet a pet, recommend this youtube, fyp, tiktok, gravycatman, robuilder, alvin blox, scripting tutorials, How To Make A Tycoon In Roblox, how to make a simulator in roblox, tazd, roblox twitter, roblox twitter community, egg hatching system roblox studio, Roblox Studio - Arm Wrestle Simulator | UNCOPYLOCKED, pet simulator x uncopylocked, thedevking, how to make a hoverboard, how to make a hoverboard in roblox studio, b ricey, module scripts, How to script a Tool Gamepass | Roblox Studio Tutorial, How To Make A Teleport Gui In Roblox Studio 2023, How To Make A Notification System In Roblox Studio 2023, How To Make A Combat System In Roblox Studio 2023, HOW TO MAKE A GAME LIKE ARSENAL IN ROBLOX STUDIO PART 1!, HOW TO MAKE A GAME LIKE FRIDAY NIGHT FUNKIN IN ROBLOX STUDIO PART 1 !, How to make a game like among us in Roblox Studio. Part 1, How to make an ACTUAL Loading Screen in Roblox Studio, How to make an FPS game in ROBLOX STUDIO part 6!, How To Make A Survival Game In Roblox Studio - Part 1, I tried remaking DOORS in 1 HOUR..., I tried remaking pet simulator x in 1 hour, making a game in one hour, How to make a Shop Gui in ROBLOX Studio, ROBLOX Studio Story Game Part 1 Tutorial, I Made Minecraft's Terrain Generation in Roblox, blender, kreekcraft 10 mil
Рекомендации по теме
Комментарии
Автор

This is a microoptimization that you probably won't need in like 99% of use cases. Unless you're working with big data or something

defenestratorr
Автор

The video is very informative and good but the only problem is that sometimes you're saying "bits" instead of "bytes".

jodio
Автор

5:08 Unsigned and signed should be swapped. Unsigned takes only positive inputs, and will handle overflows and negative inputs by taking the modulo of the input number with its maximum number + 1. On the other hand, signed numbers allows numbers to have a negative sign. Overflowing a signed integer is trickier, as it involves first taking the modulo with max + 1 then using two's complement with the number in binary. Roblox handles overflows automatically.

theosiris
Автор

To be honest, on the other side using this make scripting/coding looks more complicated than usual

tiltedblock
Автор

I like to gamble. how to gamble in studio

theoverlord
Автор

Very cool stuff, though the back and forth and the random pauses make it sound so confusing

dr_mafarioyt
Автор

Thank you for noticing me about buffers 😄❤️

로좋
Автор

How would I use this in a datastore though? using the read functions just returns the original string. Sorry if this is a dumb question, I just haven't fully understood bitbuffers yet.

Wayne.
Автор

while this is great for Basics, can you make a more in depth video on how to use this for mass data compression and decompression?

concept is to automate it completely by detecting the type of data, compress it and map the order somewhere for decompression

Kitsune_Dev
Автор

buffers should be used for compacting data that is sent over the network or you have big arrays

using buffers for variables are unnecessary unless your going to send them to another script with a remote event (especially unreliableremoteEvents that have a 900 byte payload limit)

lalaly
Автор

guys i think buffer needs a nerf🥶🥶 shid so cold

Avysilvasan
Автор

while I was watching this video I decided to go outside where the kittens were, I paused the video, but my headphones landed on the space bar, so the video was actually playing at 2x speed, I skipped most of the video because of this

rocketpadgamer
Автор

I would *really* advise against using these because of how much of a micro-optimization they are unless it involves networking or serialization, and even then, only really consider it if your game or system is having problems in the first place.

ozzy
Автор

Maybe, you can create a module with a buffer library?

Divine
Автор

this is probably being used in a really specific usecase, nice video btw

fayking
Автор

hardly the easiest way to save memory. i'd rather down sample one 1024 image to 512 and prob save more than this with a lot less work!

furroy
Автор

i have tried to use this, but its hard. you need to think how big is the value, what type, and what index is the buffer, is it signed, unsigned, integer, negative?
if it big value, is it 8, 16? all these need to think. unless you have good understanding on how your game value is, dont use it. but the good thing is, we can have like the value cap to what the byte is. like if i use 16bit the number will be in 0-65536 and if i use this for my character coins, it wont go beyond that. so maybe its good for security? in case someone hack and want to set it to which is not possible in 16bit.

garytodak
Автор

can buffers be used in datastores instead of tables?

viperdune
Автор

im sorry to be thet guy but how tf do you find these secret stuff?

tan
Автор

this is cool but not really worth it or needed in this day and age

lembarkii