<< 05-07-2026 >>

00:02:44FromDiscord<Aceroph> how do i make my variable not end with 'gensym0 in a template?
00:05:50FromDiscord<exelotl> iirc you can mark the template as {.dirty.} or the variable as {.inject.} - just keep in mind that these could allow the variable to name clash with others in the scope where the template is used
00:11:17FromDiscord<Aceroph> its fine, its a function
00:17:04*Skippy8 quit (Ping timeout: 276 seconds)
00:20:32*Skippy8 joined #nim
00:40:15*termer quit (Remote host closed the connection)
00:41:49*termer joined #nim
01:07:49FromDiscord<11clock> When should I use a value sequence and when should I use a reference sequence?
01:08:10FromDiscord<11clock> I am used to other languages where all collections are reference types, so value type collections are new to me.
01:09:13FromDiscord<_timurski> In reply to @11clock "When should I use": what do you mean
01:09:20FromDiscord<_timurski> like the objects stored are references or the sequence itself is being referenced
01:10:07FromDiscord<_timurski> a sequence is always a pointer to some memory
01:10:07FromDiscord<11clock> I am making a scene graph. A node has a sequence of children. I don't know if the sequence of children should be value or ref
01:10:25FromDiscord<_timurski> a sequence is already a pointer to some memory
01:10:25FromDiscord<11clock> Nodes themselves are ref types.
01:10:39FromDiscord<_timurski> so you should not have any extra pointers
01:10:52FromDiscord<_timurski> there's no need to have a `ref seq`
01:10:58FromDiscord<11clock> Alright
01:11:03FromDiscord<11clock> Thank you
01:25:58*termer quit (Remote host closed the connection)
01:27:31*termer joined #nim
01:30:35*Skippy8 quit (Ping timeout: 265 seconds)