Öncelikle geç yanıt için üzgünüm, aslında haklı olabilirsiniz belki çok fazla trafği olmayan bir API'da bu tür detaylar gereksiz olabilir fakat bir çevrimiçi bir oyunun sunucusunu yazdığınızı hayal edin, gecikmeyi önlemek adına her bit önemli hale gelecektir diye düşünüyorum. Daha önce bir oyun sunucusu yazmadım ama :D muhtemelen bu tür bir durumda hesaplamak iyi olacaktır. Ek olarak şöyle bir tool'da mevcut (https://github.com/mdempsky/maligned), linter ile çalıştırırsanız her bir yeni struct yaratıldığında bu durumu mümkün olduğu kadar verimli hale getirebilirsiniz.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response