CTS

Results 37 comments of CTS

`auto &&other = dst_registry.storage(storage.type());` only works when dst_registry already has the storage. Otherwise, it returns zero. i was expecting dst_registry.storage(storage.type()) can create such storage in the dst_registry.

To put storage in the pool, you have to use a template because C++ types don't exist at runtime.

> this thing isn't going to change any time so Maybe that is true, a vtable for constructing storage by type id. I believe the main problem is to `new`...

This is how I implement the storage construction ```c++ void copyReg(const entt::registry &registry, entt::registry &other) { other.assign(registry.data(), registry.data() + registry.size(), registry.released()); for (const auto [id, storage] : registry.storage()) { auto...

> Mmm probably the vtable should work the other way around, that is: > > ```c++ > registry.vtable_for(id).setup(other_registry); > ``` > > This way you have a function with full...

We really need this, or maybe we can have some custom iterators to iterate through dense bulk arrays to avoid copying data.

> > We really need this > > Are you sure? Do you have a profiler dump to share? If I am using a plot, I will not deal with...

3.5.3.220出现病毒,微软自带的杀毒软件认为是 Trojan:AndroidOS/Multiverze

221被认为是 Trojan:Script/Wacatac.B!ml 是微软有意为之的吗? 219暂没有出现这种问题。 ![image](https://user-images.githubusercontent.com/6616679/172067295-c9fbcb2f-2fc8-4305-84c1-c87d10a59654.png)

似乎是这样,但是我用自动的更新220,直接报Trojan:AndroidOS/Multiverze,221暂时没有问题。不过220也是我用了几天以后它才报的,很奇怪。似乎是检测到了某种行为,在我关掉log窗口以后就突然报了。