1.适当使用链表,在数据量大和频繁的地方尽可能使用链表
2.无关联数据用hash提高速度
3.减少string的使用,最好用二进制消息,如pb等
4.数据在一定时间内可以打包,时间可调节,超时也自动发送
5.aoi视野管理方法
6.可以前后端用某种事件id来代表消息及数据,事件变化发送id号
delphi 服务端效率
最新推荐文章于 2024-06-13 09:58:27 发布
1.适当使用链表,在数据量大和频繁的地方尽可能使用链表
2.无关联数据用hash提高速度
3.减少string的使用,最好用二进制消息,如pb等
4.数据在一定时间内可以打包,时间可调节,超时也自动发送
5.aoi视野管理方法
6.可以前后端用某种事件id来代表消息及数据,事件变化发送id号