当前位置:网站首页>Simple prohibition of garbage collection in d
Simple prohibition of garbage collection in d
2022-08-09 20:16:00 【fqbqrr】
{import core.memory: GC;GC.disable();scope(exit) GC.enable();foreach (...)// Hot code.}void load_assets(){import core.memory: GC;// Assign, load, etc.GC.collect();}
Now, new attribute
is added to the core.attribute
module instead of being available globally, so if you want to add @GC(...)
syntax, also need to be imported.
边栏推荐
猜你喜欢
随机推荐
mysql双主备份失败?
华为云全流程护航《流浪方舟》破竹首发,打造口碑爆款
【Pycharm好用功能】
【工业数字化大讲堂 第二十期】制造业数字化能力建设分享,特邀制造业高级咨询顾问 李东老师分享
[极客大挑战 2019]HardSQL
动态RDLC报表(六)
Jenkins deploys services to remote servers using pipelines
有什么好的开源自动化测试框架可以推荐?
How tall is the B+ tree of the MySQL index?
怎样选择一个好的SaaS知识库工具?
低代码平台和专业开发人员——完美搭档?
ceph 创建池和制作块设备基操
总结篇4:redis 核心数据存储结构及核心业务模型实现应用场景
The senior told me that the MySQL of the big factory is connected through SSH
以技术御风险,护航云原生 | 同创永益 X 博云举办产品联合发布会
d中简单禁止垃集
leetcode300.最长递增子序列(动态规划)
史上最全架构师知识图谱
逻辑越权和水平垂直越权支付篡改,验证码绕过,接口
d中shared用法