Nicolas Cannasse

Results 375 comments of Nicolas Cannasse

@lptr what kind of values do you want to reference by type? any value? a specific set? (eg only objects instances)

@lptr I guess you will have to map every ValueType to a custom ValueType2 that replaces Class value by classes unique ids as shown in my getId example. Then use...

@waneck that would break native/fast/unsafe comparison when comparing two Dynamics. There's no Class type in JS that we can change, and we have forbidden ourselves from overriding native JS behaviors...

Yes but in the case of CDB ids we really need them to be working without any manual hint :'(

ping @yuxiaomao On Tue, Jun 18, 2024 at 8:52 PM m0rkeulv ***@***.***> wrote: > i've been playing around with the code and i got things working, but i am >...

What I don't understand is that it still works with first compilation... So most likely something is not correctly restored for constructors

> I'm thinking that we could add a boolean argument to onGenerate which is interpreted as beforeSave = true, I agree, let's do that for now and name it `persistent`,...

You can try to setup a GPU buffer cache with `hxd.impl.Allocator.set(new hxd.impl.CacheAllocator())` This will permit the reuse of GPU buffers for dynamic draws.

I added parsing support but maybe we should add Interp support for it as well, but this would require changing the hscript AST so I'm a bit hesitant. Closing for...

The only possible problem in the hscript.Bytes encoding that should be adapted to support for older try-catches binaries, so that both old and new data are supported.