FoHoOV
FoHoOV
@Azarattum I'm very happy that you liked it, thanks ❤️! > > ```ts > const set = new ReactiveSet([1, 2, 3]); > > const cleanup = effect_root(() => { >...
@Azarattum, sorry for the misunderstanding. I think I got what you meant, I just wanted to emphasise that `read_methods_signals` will not prevent the garbage collector from ever collecting them. >...
@trueadm Yes from memory perspective this implementation could actually retain more memory as it goes on. But maybe doing these solutions can help? > ... based on that and https://github.com/sveltejs/svelte/pull/11287#issuecomment-2103807182,...
@trueadm Thanks for the review!! My whole mindset was around making stuff as fine-grained as possible and not worrying about memory at that moment then try to make it performant...
@truedm Thanks! Sure, if by the time I start nobody has done it yet, I'll try to do it for the url, date and searchparams.
@Rich-Harris made it a tad more performant, but if it still doesn't worth feel free to close it. Also just wanted to mention that it will only create signals when...
> What if we instead just keep mostly what we have today already, but instead of reading only the time value, we read the time value as part of a...
> I mean it would create a separate derived signal and return that from doing `getSeconds` and `getMinutes`. Thus when you change the seconds, then if the minutes hasn't changed,...
@trueadm out of curiosity, doesn't that lead to creating more signals? If I call `getX` in 10 places it would create 10 signals (if I'm understanding how `derived` works correctly),...
@Rich-Harris @trueadm Sorry I was away for a couple of days. The issue is funny actually xD I hate `Date` deeply. lets say for `inital_date` we do: ``` typescript const...