当前位置:网站首页>d中简单禁止垃集
d中简单禁止垃集
2022-08-09 17:01:00 【fqbqrr】
{
import core.memory: GC;
GC.disable();
scope(exit) GC.enable();
foreach (...)
// 热代码.
}
void load_assets()
{
import core.memory: GC;
// 分配,加载等.
GC.collect();
}
如今,添加新属性
到core.attribute
模块中,而不是全局可用,因此如果要加@GC(...)
语法,还需要导入.
边栏推荐
- Engaged in software testing for a year, only basic functional testing, how to further study?
- Metasploit——辅助模块(Auxiliary)
- ref的使用
- What platform is EPIC?
- 《ABP Framework 极速开发》 - 教程首发
- win10 uwp 获得Slider拖动结束的值
- JMeter notes 6 | JMeter recording agent (configuration)
- 自学软件测试,学到什么程度可以出去找工作啊?
- International Soil Modeling Consortium-ISMC
- 动手学深度学习_风格迁移
猜你喜欢
随机推荐
毕昇编译器优化:Lazy Code Motion
动态RDLC报表(七)
The senior told me that the MySQL of the big factory is connected through SSH
MASA Stack 第三期社区例会
本机号码一键登录原理
win10 uwp 获得Slider拖动结束的值
动态RDLC报表(三)
The principle implementation of handwritten flexible.js, I finally understand the multi-terminal adaptation of the mobile terminal
重谈联想5G编码投票事件
【ROS2原理9】 QoS - 截止日期、活跃度和寿命
动态RDLC报表(六)
Volatile:JVM 我警告你,我的人你别乱动
Jenkins deploys services to remote servers using pipelines
What is test development and why is it so popular now?
Volatile: JVM I warn you, my people don't move
【代码审计】——PHP项目类RCE及文件包含下载删除
自动生成设备节点
一文深入了解 Hybrid 的实现原理
为了高性能、超大规模的模型训练,这个组合“出道”了
AI基础环境搭建和设置总文